summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-05-29 22:02:31 +0000
committercheusov <cheusov@pkgsrc.org>2012-05-29 22:02:31 +0000
commite9e2d21244fb7ae137521f59a5bfc1eafdb9445c (patch)
tree64ef7b6f67b4a6edc223b8f23106fd2f74f6c43a /sysutils
parent2e320dfd0f40bb07c3a5ac66f7a7cea28b308fc7 (diff)
downloadpkgsrc-e9e2d21244fb7ae137521f59a5bfc1eafdb9445c.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 'sysutils')
-rw-r--r--sysutils/findutils/Makefile19
-rw-r--r--sysutils/findutils/PLIST30
2 files changed, 28 insertions, 21 deletions
diff --git a/sysutils/findutils/Makefile b/sysutils/findutils/Makefile
index 26fc668b723..96265512252 100644
--- a/sysutils/findutils/Makefile
+++ b/sysutils/findutils/Makefile
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.28 2011/04/22 13:44:41 obache Exp $
+# $NetBSD: Makefile,v 1.29 2012/05/29 22:02:31 cheusov Exp $
DISTNAME= findutils-4.2.33
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=findutils/}
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/findutils/findutils.html
COMMENT= The GNU find, xargs and locate utilities
+LICENSE= gnu-gpl-v3
GNU_CONFIGURE= YES
INFO_FILES= YES
@@ -16,13 +17,15 @@ USE_PKGLOCALEDIR= YES
LDFLAGS.IRIX+= -lgen
-.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ARGS+= --program-prefix=g
-.if defined(GNU_PROGRAM_PREFIX)
-CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
-.endif
-PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
-BUILD_DEFS+= GNU_PROGRAM_PREFIX
+INSTALLATION_DIRS= gnu/bin
+
+post-install:
+ ln -s ../../bin/gfind ${DESTDIR}${PREFIX}/gnu/bin/find
+ ln -s ../../bin/glocate ${DESTDIR}${PREFIX}/gnu/bin/locate
+ ln -s ../../bin/gupdatedb ${DESTDIR}${PREFIX}/gnu/bin/updatedb
+ ln -s ../../bin/gxargs ${DESTDIR}${PREFIX}/gnu/bin/xargs
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/findutils/PLIST b/sysutils/findutils/PLIST
index 782bb666c27..734c0b46b52 100644
--- a/sysutils/findutils/PLIST
+++ b/sysutils/findutils/PLIST
@@ -1,17 +1,21 @@
-@comment $NetBSD: PLIST,v 1.9 2008/03/08 11:15:03 tnn Exp $
-bin/${GNU_PROGRAM_PREFIX}find
-bin/${GNU_PROGRAM_PREFIX}locate
-bin/${GNU_PROGRAM_PREFIX}updatedb
-bin/${GNU_PROGRAM_PREFIX}xargs
+@comment $NetBSD: PLIST,v 1.10 2012/05/29 22:02:31 cheusov Exp $
+bin/gfind
+bin/glocate
+bin/gupdatedb
+bin/gxargs
+gnu/bin/find
+gnu/bin/locate
+gnu/bin/updatedb
+gnu/bin/xargs
info/find.info
-libexec/${GNU_PROGRAM_PREFIX}bigram
-libexec/${GNU_PROGRAM_PREFIX}code
-libexec/${GNU_PROGRAM_PREFIX}frcode
-man/man1/${GNU_PROGRAM_PREFIX}find.1
-man/man1/${GNU_PROGRAM_PREFIX}locate.1
-man/man1/${GNU_PROGRAM_PREFIX}updatedb.1
-man/man1/${GNU_PROGRAM_PREFIX}xargs.1
-man/man5/${GNU_PROGRAM_PREFIX}locatedb.5
+libexec/gbigram
+libexec/gcode
+libexec/gfrcode
+man/man1/gfind.1
+man/man1/glocate.1
+man/man1/gupdatedb.1
+man/man1/gxargs.1
+man/man5/glocatedb.5
share/locale/be/LC_MESSAGES/findutils.mo
share/locale/bg/LC_MESSAGES/findutils.mo
share/locale/ca/LC_MESSAGES/findutils.mo