summaryrefslogtreecommitdiff
path: root/security/libprelude
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-10-07 19:39:42 +0000
committerjoerg <joerg@pkgsrc.org>2009-10-07 19:39:42 +0000
commit2d71a52482e558e955e16971fb885c2963fbe585 (patch)
tree5c0ee1c881aaeb35a1118550ac87725cbcb641bb /security/libprelude
parent3d87a6f56b70c46c44bd7e95aeac39aa5b8870e5 (diff)
downloadpkgsrc-2d71a52482e558e955e16971fb885c2963fbe585.tar.gz
Share distinfo file between libprelude-* and similar for
libpreludedb-*. Shuffle stuff a bit around in the Makefile.common, define PATCHDIR in that, don't define user-destdir support there.
Diffstat (limited to 'security/libprelude')
-rw-r--r--security/libprelude/Makefile9
-rw-r--r--security/libprelude/Makefile.common7
2 files changed, 11 insertions, 5 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index c13a976da8d..39d14fe701c 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.37 2009/08/23 18:56:34 hasso Exp $
+# $NetBSD: Makefile,v 1.38 2009/10/07 19:39:42 joerg Exp $
#
-.include "../../security/libprelude/Makefile.common"
-.include "../../mk/bsd.prefs.mk"
-
COMMENT= LibPrelude libraries and c++ easy bindings
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../security/libprelude/Makefile.common"
+
CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf
CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf
CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf
diff --git a/security/libprelude/Makefile.common b/security/libprelude/Makefile.common
index 8cd4d81945b..f1cd7e9509c 100644
--- a/security/libprelude/Makefile.common
+++ b/security/libprelude/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2009/10/02 09:46:42 hasso Exp $
+# $NetBSD: Makefile.common,v 1.3 2009/10/07 19:39:42 joerg Exp $
#
# used by security/libprelude/Makefile
# used by security/libprelude-lua/Makefile
@@ -16,6 +16,9 @@ HOMEPAGE= http://www.prelude-ids.org/download/releases/
PKG_DESTDIR_SUPPORT= user-destdir
+PATCHDIR= ${.CURDIR}/../security/libprelude/patches
+DISTINFO_FILE= ${.CURDIR}/../security/libprelude/distinfo
+
BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
@@ -53,3 +56,5 @@ SUBST_FILES.make= Makefile.in
SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
INSTALLATION_DIRS= share/examples/libprelude
+
+.include "../../mk/bsd.prefs.mk"