40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2015/03/15 16:45:04 tnn Exp $
|
|
#
|
|
|
|
DISTNAME= validns-0.8
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.validns.net/download/
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://www.validns.net/
|
|
COMMENT= Validns, a high performance DNS/DNSSEC zone validator
|
|
LICENSE= 2-clause-bsd
|
|
|
|
# Depends on perl for make tests
|
|
|
|
#BUILD_DEPENDS+= p5-Test-Command-Simple-[0-9]*:../../devel/p5-Test-Command-Simple
|
|
|
|
#USE_TOOLS+=perl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "SunOS"
|
|
MAKE_ENV+= EXTRALIBS="-lsocket -lnsl"
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
|
|
|
|
#post-build:
|
|
# cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} test
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/validns ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/validns.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../devel/libjudy/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|