diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-05-29 22:20:40 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-05-29 22:20:40 +0000 |
commit | 38e9e1b4dbb7df992f789be21a7ce9695823c8b0 (patch) | |
tree | c932849cfdfbe4e3caaa680a7727747090851ad1 /time/gnutime | |
parent | e9e2d21244fb7ae137521f59a5bfc1eafdb9445c (diff) | |
download | pkgsrc-38e9e1b4dbb7df992f789be21a7ce9695823c8b0.tar.gz |
Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).
All utilities are installed with a prefix 'g'. Symlinks with original
names are created in ${PREFIX}/gnu/bin.
++pkgrevision
Add LICENSE
Diffstat (limited to 'time/gnutime')
-rw-r--r-- | time/gnutime/Makefile | 14 | ||||
-rw-r--r-- | time/gnutime/PLIST | 5 |
2 files changed, 12 insertions, 7 deletions
diff --git a/time/gnutime/Makefile b/time/gnutime/Makefile index fed35fcf5ca..780bff5c218 100644 --- a/time/gnutime/Makefile +++ b/time/gnutime/Makefile @@ -1,22 +1,26 @@ -# $NetBSD: Makefile,v 1.7 2009/07/07 20:21:37 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2012/05/29 22:20:40 cheusov Exp $ # DISTNAME= time-1.7 PKGNAME= gnu${DISTNAME} +PKGREVISION= 1 CATEGORIES= time MASTER_SITES= ${MASTER_SITE_GNU:=time/} MAINTAINER= reed@reedmedia.net HOMEPAGE= http://directory.fsf.org/GNU/time.html COMMENT= Report user, system, and real time used by a process +LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes -INFO_FILES= # PLIST +INFO_FILES= yes -CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q} -PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} -BUILD_DEFS+= GNU_PROGRAM_PREFIX +CONFIGURE_ARGS+= --program-prefix=g +INSTALLATION_DIRS= gnu/bin + +post-install: + ln -f -s ../../bin/gtime ${DESTDIR}${PREFIX}/gnu/bin/time .include "../../mk/bsd.pkg.mk" diff --git a/time/gnutime/PLIST b/time/gnutime/PLIST index 5b3018624da..2b2f8b2c8b1 100644 --- a/time/gnutime/PLIST +++ b/time/gnutime/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2006/04/08 05:02:59 jlam Exp $ -bin/${GNU_PROGRAM_PREFIX}time +@comment $NetBSD: PLIST,v 1.3 2012/05/29 22:20:40 cheusov Exp $ +bin/gtime +gnu/bin/time info/time.info |