Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / libnipper / Makefile
blobb16b364f514e1ad8cc1ccb5049d3a4fe1980bf4d
1 # $NetBSD: Makefile,v 1.3 2010/02/11 22:06:14 joerg Exp $
4 DISTNAME= libnipper-0.12.1
5 CATEGORIES= net
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nipper/}
7 EXTRACT_SUFX= .tgz
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://nipper.sourceforge.net/
11 COMMENT= Performs security audits of network device configuration
13 USE_LANGUAGES= c++
14 USE_CMAKE= yes
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
29 post-install:
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"