pkgsrc/net/ipa/Makefile
rillig 9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2006/04/22 09:22:12 rillig Exp $
#
DISTNAME= ipa-1.3.6
PKGREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= http://ipa-system.sourceforge.net/ \
http://www.mirrors.wiretapped.net/security/network-monitoring/ipa/ \
ftp://ftp.mirrors.wiretapped.net/pub/security/network-monitoring/ipa/ \
http://ipa.it-ss.be/
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
HOMEPAGE= http://ipa-system.sourceforge.net/
COMMENT= IP accounting software
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-1*-* OpenBSD-*-* DragonFly-*-*
RESTRICTED= Needs to be built uniquely for each host
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}
BUILD_TARGET= # empty
CFLAGS+= -DCFGFILE="\"${PKG_SYSCONFDIR}/ipa.conf\""
CONF_FILES_PERMS= ${PREFIX}/share/examples/ipa/ipa.conf.default \
${PKG_SYSCONFDIR}/ipa.conf \
${ROOT_USER} ${ROOT_GROUP} 0400
OWN_DIRS_PERMS= /var/ipa ${ROOT_USER} ${ROOT_GROUP} 0555
.include "../../mk/bsd.prefs.mk"
RCD_SCRIPTS= ipa
.if ${OPSYS} == "NetBSD"
RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh
.else
RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.generic
.endif
SUBST_CLASSES+= paths
SUBST_FILES.paths= man/ipa.5 man/ipa.8 man/ipa.conf.5 man/ipastat.8
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= post-patch
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipa
.include "../../mk/bsd.pkg.mk"