1 # $NetBSD: Makefile,v 1.10 2012/11/23 12:13:35 joerg Exp $
3 DISTNAME
= pbulk-base-0.47
4 COMMENT
= Core components of the modular bulk build framework
6 .
include "../../pkgtools/pbulk/Makefile.common"
9 USE_TOOLS
+= groff nroff
11 INSTALLATION_DIRS
= bin
${PKGMANDIR}/cat1
${PKGMANDIR}/man1
16 .
include "../../mk/bsd.prefs.mk"
18 .if
${OPSYS} == "SunOS"
19 LDADD
+= -lsocket
-lresolv
20 MAKE_ENV
+= LDADD
=${LDADD
:Q
}
23 .if
${OPSYS} == "Linux"
24 CPPFLAGS
+= -D_GNU_SOURCE
27 BUILD_DIRS
= lib pbuild presolve pscan
30 ${CP} -r
${FILESDIR}/pbulk
${WRKDIR}
32 .
include "../../mk/bsd.pkg.mk"