1 # $NetBSD: Makefile,v 1.3 2010/02/11 22:06:14 joerg Exp $
4 DISTNAME
= libnipper-0.12
.1
6 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=nipper
/}
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://nipper.sourceforge.net
/
11 COMMENT
= Performs security audits of network device configuration
16 CONF_FILES
+= ${PREFIX}/share
/examples
/nipper.conf \
17 ${PKG_SYSCONFDIR}/nipper.conf
19 SUBST_CLASSES
+= config
20 SUBST_STAGE.config
= post-patch
21 SUBST_FILES.config
= CMakeLists.txt libnipper.
cpp nipper.
cpp
22 SUBST_SED.config
= -e
"s|@@PREFIX@@|${PREFIX}|g"
23 SUBST_SED.config
+= -e
"s|@@PKGMANDIR@@|${PKGMANDIR}|g"
24 SUBST_SED.config
+= -e
"s|/etc|${PKG_SYSONFDIR}|g"
25 SUBST_MESSAGE.config
= Fixing configuration files.
27 INSTALLATION_DIRS
+= share
/examples
30 ${INSTALL_DATA} ${WRKSRC}/nipper.conf \
31 ${DESTDIR}${PREFIX}/share
/examples
/nipper.conf
33 .
include "../../devel/cmake/buildlink3.mk"
34 .
include "../../mk/bsd.pkg.mk"