summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
committerjperkin <jperkin@pkgsrc.org>2012-12-06 11:38:19 +0000
commitb17b53dc8e583cdf15aa1f3ae609d744e2cce357 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /time
parentfd61cb92740bc60c6a0ab08b35c0aa84934f97c1 (diff)
downloadpkgsrc-b17b53dc8e583cdf15aa1f3ae609d744e2cce357.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'time')
-rw-r--r--time/gnutime/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/time/gnutime/Makefile b/time/gnutime/Makefile
index de056e67192..0b284e4e9c1 100644
--- a/time/gnutime/Makefile
+++ b/time/gnutime/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2012/10/08 13:04:18 asau Exp $
+# $NetBSD: Makefile,v 1.10 2012/12/06 11:43:52 jperkin Exp $
#
DISTNAME= time-1.7
@@ -18,7 +18,9 @@ INFO_FILES= yes
CONFIGURE_ARGS+= --program-prefix=g
INSTALLATION_DIRS= gnu/bin
+.include "../../mk/bsd.prefs.mk"
+
post-install:
- ln -f -s ../../bin/gtime ${DESTDIR}${PREFIX}/gnu/bin/time
+ ${LN} -fs ${PREFIX}/bin/gtime ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/time
.include "../../mk/bsd.pkg.mk"