Makefile 686 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.17 2016/06/20 10:27:49 jasper Exp $
  2. COMMENT= convert DOS/MAC files to UNIX (line-endings/charset)
  3. DISTNAME = dos2unix-7.3.4
  4. CATEGORIES= converters
  5. HOMEPAGE= http://waterlan.home.xs4all.nl/dos2unix.html
  6. # BSD
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB += c intl
  9. MASTER_SITES= http://waterlan.home.xs4all.nl/dos2unix/
  10. BUILD_DEPENDS= devel/gettext-tools
  11. LIB_DEPENDS= devel/gettext
  12. MAKE_FLAGS= CC="${CC}"
  13. FAKE_FLAGS= prefix="${PREFIX}" \
  14. docsubdir=dos2unix \
  15. man1dir="${PREFIX}/man/man1"
  16. USE_GMAKE= Yes
  17. pre-configure:
  18. ${SUBST_CMD} ${WRKSRC}/Makefile
  19. post-install:
  20. mv ${PREFIX}/share/man/* ${PREFIX}/man/
  21. rmdir ${PREFIX}/share/man
  22. .include <bsd.port.mk>