pkgsrc/net/nipper/Makefile
jperkin 5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00

27 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.7 2018/07/04 13:40:29 jperkin Exp $
#
DISTNAME= nipper-cli-0.12.0
PKGNAME= ${DISTNAME:S/-cli//}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nipper/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://nipper.sourceforge.net/
COMMENT= Performs security audits of network device configuration
USE_LANGUAGES= c++ c
USE_CMAKE= yes
SUBST_CLASSES+= config
SUBST_STAGE.config= pre-configure
SUBST_FILES.config= CMakeLists.txt nipper.cpp
SUBST_SED.config= -e "s|@@PREFIX@@|${PREFIX}|g"
SUBST_SED.config+= -e "s|@@PKGMANDIR@@|${PKGMANDIR}|g"
SUBST_SED.config+= -e "s|/etc|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.config= Fixing configuration files.
.include "../../net/libnipper/buildlink3.mk"
.include "../../devel/cmake/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"