summaryrefslogtreecommitdiff
path: root/time/gnutime
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-12-06 11:38:19 +0000
committerjperkin <jperkin>2012-12-06 11:38:19 +0000
commitd1075ac5e177cf818e38cd0f1505c26f36dc3a71 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /time/gnutime
parent0a481916e940c97ca2e8df1f9108861623f22bb1 (diff)
downloadpkgsrc-d1075ac5e177cf818e38cd0f1505c26f36dc3a71.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'time/gnutime')
-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"