| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.36 2016/01/03 17:00:48 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.37 2016/05/02 05:18:47 richard Exp $ |
2 | | | 2 | |
3 | DISTNAME= findutils-4.6.0 | | 3 | DISTNAME= findutils-4.6.0 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= sysutils | | 5 | CATEGORIES= sysutils |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=findutils/} | | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=findutils/} |
6 | | | 7 | |
7 | MAINTAINER= bouyer@NetBSD.org | | 8 | MAINTAINER= bouyer@NetBSD.org |
8 | HOMEPAGE= http://www.gnu.org/software/findutils/findutils.html | | 9 | HOMEPAGE= http://www.gnu.org/software/findutils/findutils.html |
9 | COMMENT= The GNU find, locate, updatedb, and xargs utilities | | 10 | COMMENT= The GNU find, locate, updatedb, and xargs utilities |
10 | LICENSE= gnu-gpl-v3 # or later | | 11 | LICENSE= gnu-gpl-v3 # or later |
11 | | | 12 | |
12 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
13 | INFO_FILES= yes | | 14 | INFO_FILES= yes |
14 | USE_PKGLOCALEDIR= yes | | 15 | USE_PKGLOCALEDIR= yes |
15 | USE_TOOLS+= gmake bison # we patch a .y file, so needs bison | | 16 | USE_TOOLS+= gmake bison # we patch a .y file, so needs bison |
16 | | | 17 | |
17 | LDFLAGS.IRIX+= -lgen | | 18 | LDFLAGS.IRIX+= -lgen |
18 | | | 19 | |
19 | CONFIGURE_ARGS+= --program-prefix=g | | 20 | CONFIGURE_ARGS+= --program-prefix=g |
20 | | | 21 | |
21 | AUTO_MKDIRS= yes | | 22 | AUTO_MKDIRS= yes |
22 | | | 23 | |
23 | .include "../../mk/bsd.prefs.mk" | | 24 | .include "../../mk/bsd.prefs.mk" |
24 | | | 25 | |
25 | post-install: | | 26 | post-install: |
26 | .for f in find locate oldfind updatedb xargs | | 27 | .for f in find locate updatedb xargs |
27 | ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f} | | 28 | ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f} |
28 | ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1 | | 29 | ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1 |
29 | .endfor | | 30 | .endfor |
30 | ${LN} -sf ${PREFIX}/${PKGMANDIR}/man5/glocatedb.5 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man5/locatedb.5 | | 31 | ${LN} -sf ${PREFIX}/${PKGMANDIR}/man5/glocatedb.5 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man5/locatedb.5 |
31 | | | 32 | |
32 | .include "../../devel/gettext-lib/buildlink3.mk" | | 33 | .include "../../devel/gettext-lib/buildlink3.mk" |
33 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |