summaryrefslogtreecommitdiff
path: root/net/netsaint-base
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 /net/netsaint-base
parentd601a38097628fcfcbfcc56d6cbd289158c18d61 (diff)
downloadpkgsrc-8b545c5900e7f789a4066f2da78a58707184fc7b.tar.gz
Split out common parts of the netsaint base/plugins Makefiles into a common
include file
Diffstat (limited to 'net/netsaint-base')
-rw-r--r--net/netsaint-base/Makefile15
-rw-r--r--net/netsaint-base/Makefile.common15
2 files changed, 17 insertions, 13 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}