summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-01-16 16:23:06 +0000
committerrh <rh@pkgsrc.org>2001-01-16 16:23:06 +0000
commit8b545c5900e7f789a4066f2da78a58707184fc7b (patch)
treed1282f1217aeb049650311a686a6230e391e6548
parentd601a38097628fcfcbfcc56d6cbd289158c18d61 (diff)
downloadpkgsrc-8b545c5900e7f789a4066f2da78a58707184fc7b.tar.gz
Split out common parts of the netsaint base/plugins Makefiles into a common
include file
-rw-r--r--net/netsaint-base/Makefile15
-rw-r--r--net/netsaint-base/Makefile.common15
-rw-r--r--net/netsaint-plugins/Makefile16
3 files changed, 20 insertions, 26 deletions
diff --git a/net/netsaint-base/Makefile b/net/netsaint-base/Makefile
index ccae90359ef..c3e943a626a 100644
--- a/net/netsaint-base/Makefile
+++ b/net/netsaint-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/01/16 15:39:42 rh Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/16 16:23:07 rh Exp $
#
DISTNAME= netsaint-0.0.6
@@ -11,18 +11,7 @@ HOMEPAGE= http://www.netsaint.org/
DEPENDS+= gd>1.8.1:../../graphics/gd
-NETSAINT_USER?= netsaint
-NETSAINT_GROUP?=${NETSAINT_USER}
-
-USE_X11= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--localstatedir=/var
-CONFIGURE_ARGS+=--datadir=${PREFIX}/share/netsaint
-CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/netsaint
-CONFIGURE_ARGS+=--libexecdir=${PREFIX}/libexec/netsaint
-CONFIGURE_ARGS+=--with-lockfile=/var/run/netsaint/netsaint.lock
-CONFIGURE_ARGS+=--with-netsaint-user=${NETSAINT_USER}
-CONFIGURE_ARGS+=--with-netsaint-grp=${NETSAINT_GROUP}
+.include "Makefile.common"
MESSAGE_FILE= ${WRKDIR}/MESSAGE
diff --git a/net/netsaint-base/Makefile.common b/net/netsaint-base/Makefile.common
new file mode 100644
index 00000000000..6426a738a96
--- /dev/null
+++ b/net/netsaint-base/Makefile.common
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile.common,v 1.1 2001/01/16 16:23:07 rh Exp $
+#
+
+NETSAINT_USER?= netsaint
+NETSAINT_GROUP?=${NETSAINT_USER}
+
+USE_X11= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--localstatedir=/var
+CONFIGURE_ARGS+=--datadir=${PREFIX}/share/netsaint
+CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/netsaint
+CONFIGURE_ARGS+=--libexecdir=${PREFIX}/libexec/netsaint
+CONFIGURE_ARGS+=--with-lockfile=/var/run/netsaint/netsaint.lock
+CONFIGURE_ARGS+=--with-netsaint-user=${NETSAINT_USER}
+CONFIGURE_ARGS+=--with-netsaint-grp=${NETSAINT_GROUP}
diff --git a/net/netsaint-plugins/Makefile b/net/netsaint-plugins/Makefile
index 773dbd3a236..12b67a88ac4 100644
--- a/net/netsaint-plugins/Makefile
+++ b/net/netsaint-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/01/16 15:43:29 rh Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/16 16:23:06 rh Exp $
#
DISTNAME= netsaint-plugins-1.2.8-4
@@ -14,19 +14,9 @@ DEPENDS+= netsaint-base-*:../../net/netsaint-base
DEPENDS+= {ssh{,6}-*,openssh-*}:../../security/ssh
.endif
-NETSAINT_USER?= netsaint
-NETSAINT_GROUP?=${NETSAINT_USER}
-
USE_SSL= YES
USE_PERL5= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--localstatedir=/var
-CONFIGURE_ARGS+=--datadir=${PREFIX}/share/netsaint
-CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/netsaint
-CONFIGURE_ARGS+=--libexecdir=${PREFIX}/libexec/netsaint
-CONFIGURE_ARGS+=--with-lockfile=/var/run/netsaint/netsaint.lock
-CONFIGURE_ARGS+=--with-netsaint-user=${NETSAINT_USER}
-CONFIGURE_ARGS+=--with-netsaint-grp=${NETSAINT_GROUP}
-CONFIGURE_ARGS+=--without-pgsql
+
+.include "../../net/netsaint-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"