Makefile 760 B

12345678910111213141516171819202122232425262728293031323334
  1. # Created by: Douglas Thrift
  2. # $FreeBSD$
  3. PORTNAME= hardlink
  4. PORTVERSION= 0.3.0
  5. CATEGORIES= sysutils
  6. MASTER_SITES= http://jak-linux.org/projects/hardlink/ \
  7. DEBIAN
  8. DISTNAME= ${PORTNAME}_${PORTVERSION}
  9. MAINTAINER= douglas@douglasthrift.net
  10. COMMENT= Replace file copies using hardlinks
  11. LICENSE= MIT
  12. USES= pkgconfig tar:xz
  13. PLIST_FILES= bin/hardlink \
  14. man/man1/hardlink.1.gz
  15. WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
  16. PORTSCOUT= limit:(?<!~rc[0-9])$$
  17. OPTIONS_DEFINE= PCRE
  18. OPTIONS_DEFAULT=PCRE
  19. PCRE_LIB_DEPENDS= libpcreposix.so:devel/pcre
  20. PCRE_MAKE_ENV_OFF= ENABLE=
  21. do-install:
  22. ${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${STAGEDIR}${PREFIX}/bin/hardlink
  23. ${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/hardlink.1
  24. .include <bsd.port.mk>