summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-05-29 22:20:40 +0000
committercheusov <cheusov>2012-05-29 22:20:40 +0000
commit14748f49ebb9712eb24cec27222331a0b00db22b (patch)
treec932849cfdfbe4e3caaa680a7727747090851ad1 /time
parente4f4381dcc2b0cbf15884cf052af302fd4e407d5 (diff)
downloadpkgsrc-14748f49ebb9712eb24cec27222331a0b00db22b.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')
-rw-r--r--time/gnutime/Makefile14
-rw-r--r--time/gnutime/PLIST5
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