blob: f0fba9b00e6e713de49b3fd5397b0ee16deb7bf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.39 2020/01/18 23:35:16 rillig Exp $
DISTNAME= findutils-4.6.0
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=findutils/}
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/findutils/findutils.html
COMMENT= The GNU find, locate, updatedb, and xargs utilities
LICENSE= gnu-gpl-v3 # or later
GNU_CONFIGURE= yes
INFO_FILES= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
LDFLAGS.IRIX+= -lgen
CONFIGURE_ARGS+= --program-prefix=g
AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
post-install:
.for f in find locate updatedb xargs
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
${LN} -sf ${PREFIX}/${PKGMANDIR}/man5/glocatedb.5 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man5/locatedb.5
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|