blob: 74c160b51e7efc577582619752e603b266ec5e5a (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $NetBSD: Makefile,v 1.6 2007/06/29 22:43:26 joerg Exp $
DISTNAME= pbulk-0.4
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
COMMENT= Modular bulk build framework
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/pbulk
EXTRACT_ONLY= # empty
NO_CHECKSUM= YES
USE_TOOLS+= awk:run bzip2:run digest:run gzip:run ident:run make:run \
mail:run
DEPENDS+= rsync-[0-9]*:../../net/rsync
SUBST_CLASSES+= tools
SUBST_STAGE.tools= pre-configure
SUBST_MESSAGE.tools= Fixing references to tools
SUBST_FILES.tools= pbulk.conf scripts/build scripts/build-client-start \
scripts/bulkbuild scripts/client-clean \
scripts/pkg-build scripts/pkg-up-to-date scripts/pre-build \
scripts/report scripts/scan scripts/scan-client-start scripts/upload \
scripts/compute-packages.awk scripts/create-broken-graph.awk \
scripts/create-report-html.awk scripts/create-report-txt.awk \
scripts/create-report.awk
SUBST_VARS.tools= AWK BZIP2 DIGEST GZIP_CMD IDENT MAKE MAIL_CMD \
PBULK_CONFIG PKG_INFO PREFIX SH
CONF_FILES+= share/examples/pbulk/pbulk.conf ${PKG_SYSCONFDIR}/pbulk.conf
PBULK_CONFIG= ${PKG_SYSCONFDIR}/pbulk.conf
INSTALLATION_DIRS= bin libexec/pbulk \
${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 \
share/examples/pbulk
USE_BSD_MAKEFILE= yes
.include "../../mk/bsd.prefs.mk"
do-extract:
${CP} -r ${FILESDIR}/pbulk ${WRKDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/pbulk.conf ${DESTDIR}${PREFIX}/share/examples/pbulk/pbulk.conf
.if ${OPSYS} == "NetBSD"
. if !empty(OS_VERSION:M2.*)
USE_BUILTIN.libevent = no
. endif
.endif
.if ${OPSYS} == "SunOS"
LDADD+= -lsocket -lresolv
MAKE_ENV+= LDADD=${LDADD:Q}
.endif
.include "../../devel/libevent/buildlink3.mk"
.include "../../pkgtools/libnbcompat/inplace.mk"
.include "../../mk/bsd.pkg.mk"
|