aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-25 01:29:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-25 01:29:04 +0800
commita0eceaede3379bf9dc1ff762f6cb31fa4a41da54 (patch)
treefe8d771c8976c4c5a04e86960bfa01213a9decc4 /sysutils
parentf8b2a03a323433a5f265cf64875ef5ca61100d46 (diff)
downloadfreebsd-ports-gnome-a0eceaede3379bf9dc1ff762f6cb31fa4a41da54.tar.gz
freebsd-ports-gnome-a0eceaede3379bf9dc1ff762f6cb31fa4a41da54.tar.zst
freebsd-ports-gnome-a0eceaede3379bf9dc1ff762f6cb31fa4a41da54.zip
- Update to to 0.3.0
- While here, convert to options helpers PR: 204589 Submitted by: douglas@douglasthrift.net (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hardlink/Makefile18
-rw-r--r--sysutils/hardlink/distinfo4
2 files changed, 8 insertions, 14 deletions
diff --git a/sysutils/hardlink/Makefile b/sysutils/hardlink/Makefile
index 98f5f7f10bba..74699f4df268 100644
--- a/sysutils/hardlink/Makefile
+++ b/sysutils/hardlink/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hardlink
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
CATEGORIES= sysutils
MASTER_SITES= http://jak-linux.org/projects/hardlink/ \
DEBIAN
@@ -13,25 +13,19 @@ COMMENT= Replace file copies using hardlinks
LICENSE= MIT
-USES= pkgconfig
+USES= pkgconfig tar:xz
PLIST_FILES= bin/hardlink \
man/man1/hardlink.1.gz
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
-OPTIONS_DEFINE= PCRE
-
-OPTIONS_DEFAULT=PCRE
-
PORTSCOUT= limit:(?<!~rc[0-9])$$
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= PCRE
+OPTIONS_DEFAULT=PCRE
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+= libpcreposix.so:${PORTSDIR}/devel/pcre
-.else
-MAKE_ENV+= ENABLE=
-.endif
+PCRE_LIB_DEPENDS= libpcreposix.so:${PORTSDIR}/devel/pcre
+PCRE_MAKE_ENV_OFF= ENABLE=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${STAGEDIR}${PREFIX}/bin/hardlink
diff --git a/sysutils/hardlink/distinfo b/sysutils/hardlink/distinfo
index fb9a9ed3701f..6f75027571b5 100644
--- a/sysutils/hardlink/distinfo
+++ b/sysutils/hardlink/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hardlink_0.2.0.tar.gz) = 7dbacfaaaa6bcc090f75511b204b73ca8f9da7816c4e9ea384eee5261aaef8d1
-SIZE (hardlink_0.2.0.tar.gz) = 12478
+SHA256 (hardlink_0.3.0.tar.xz) = e8c93dfcb24aeb44a75281ed73757cb862cc63b225d565db1c270af9dbb7300f
+SIZE (hardlink_0.3.0.tar.xz) = 14440