From 59666e44b4fc708d6b2d7dd83af6d966f2d203b1 Mon Sep 17 00:00:00 2001 From: rh Date: Tue, 16 Jan 2001 16:23:06 +0000 Subject: Split out common parts of the netsaint base/plugins Makefiles into a common include file --- net/netsaint-base/Makefile | 15 ++------------- net/netsaint-base/Makefile.common | 15 +++++++++++++++ net/netsaint-plugins/Makefile | 16 +++------------- 3 files changed, 20 insertions(+), 26 deletions(-) create mode 100644 net/netsaint-base/Makefile.common 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" -- cgit v1.2.3