pkgsrc/pkgtools/pbulk-base/Makefile

34 lines
709 B
Makefile

# $NetBSD: Makefile,v 1.12 2013/09/10 14:38:51 joerg Exp $
DISTNAME= pbulk-base-0.47
COMMENT= Core components of the modular bulk build framework
.include "../../pkgtools/pbulk/Makefile.common"
USE_FEATURES= nbcompat
USE_TOOLS+= groff nroff
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
USE_BSD_MAKEFILE= yes
MAKE_FLAGS+= CWARNFLAGS.clang=-Wno-error=missing-noreturn
CONFLICTS= pbulk<0.39
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LDADD+= -lsocket -lresolv
MAKE_ENV+= LDADD=${LDADD:Q}
.endif
.if ${OPSYS} == "Linux"
CPPFLAGS+= -D_GNU_SOURCE
.endif
BUILD_DIRS= lib pbuild presolve pscan
do-extract:
${CP} -r ${FILESDIR}/pbulk ${WRKDIR}
.include "../../mk/bsd.pkg.mk"