summaryrefslogtreecommitdiff
path: root/sysutils/ipa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ipa/Makefile')
-rw-r--r--sysutils/ipa/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/ipa/Makefile b/sysutils/ipa/Makefile
new file mode 100644
index 00000000000..8492d12d6ae
--- /dev/null
+++ b/sysutils/ipa/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2006/10/18 11:45:22 markd Exp $
+#
+
+DISTNAME= ipa-2.0.1
+CATEGORIES= 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/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
+HOMEPAGE= http://ipa-system.sourceforge.net/
+COMMENT= Pluggable accounting system
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+RCD_SCRIPTS= ipa
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
+RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh
+.else
+RCD_SCRIPT_SRC.ipa= ${WRKSRC}/etc/ipa.sh.sample
+.endif
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+.include "options.mk"
+
+do-install:
+ cd ${WRKSRC}/src && ${MAKE} install
+ cd ${WRKSRC}/man && ${MAKE} install-am
+
+.include "../../mk/bsd.pkg.mk"