diff options
Diffstat (limited to 'sysutils/findutils/Makefile')
-rw-r--r-- | sysutils/findutils/Makefile | 19 |
1 files changed, 11 insertions, 8 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" |