diff options
author | salo <salo> | 2004-07-10 22:35:32 +0000 |
---|---|---|
committer | salo <salo> | 2004-07-10 22:35:32 +0000 |
commit | a89abb6c9852d70c7abf6c7badaa73ad09dd6dbd (patch) | |
tree | 43690e8c21be9ab8ab9ef15b3a3d14ad2c16b644 /comms/conserver/Makefile | |
parent | ceb887e2b182cdf3a6e213351ecfaacb0cb68e79 (diff) | |
download | pkgsrc-a89abb6c9852d70c7abf6c7badaa73ad09dd6dbd.tar.gz |
PKGREVISION++
- use CONSERVER_DEFAULTPORT and CONSERVER_DEFAULTHOST from
bsd.pkg.defaults.mk, instead of using obscure local variables
- obey VARBASE
- whitespace and delint
- example configuration files were never installed to PKG_SYSCONFDIR, make it
happen now (hi jlam!)
- replace test -e with -f in rc script, addresses part of PR pkg/26235
Diffstat (limited to 'comms/conserver/Makefile')
-rw-r--r-- | comms/conserver/Makefile | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/comms/conserver/Makefile b/comms/conserver/Makefile index 8cff270b723..6d71ed4b767 100644 --- a/comms/conserver/Makefile +++ b/comms/conserver/Makefile @@ -1,33 +1,35 @@ -# $NetBSD: Makefile,v 1.12 2004/03/13 17:16:13 kristerw Exp $ +# $NetBSD: Makefile,v 1.13 2004/07/10 22:35:32 salo Exp $ # -DISTNAME= conserver-7.2.7 -CATEGORIES= comms -MASTER_SITES= ftp://ftp.conserver.com/conserver/ +DISTNAME= conserver-7.2.7 +PKGREVISION= 1 +CATEGORIES= comms +MASTER_SITES= ftp://ftp.conserver.com/conserver/ -MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://www.conserver.com/ -COMMENT= Application that allows multiple users to watch serial consoles +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.conserver.com/ +COMMENT= Application that allows multiple users to watch serial consoles PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_BUILDLINK3= YES -USE_PKGINSTALL= YES +GNU_CONFIGURE= YES +USE_BUILDLINK3= YES +USE_PKGINSTALL= YES -GNU_CONFIGURE= YES CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} -CONFIGURE_ARGS+= --with-master=${DEFAULTHOST} -CONFIGURE_ARGS+= --with-port=${DEFAULTPORT} +CONFIGURE_ARGS+= --with-master=${CONSERVER_DEFAULTHOST} +CONFIGURE_ARGS+= --with-port=${CONSERVER_DEFAULTPORT} CONFIGURE_ARGS+= --with-regex CONFIGURE_ARGS+= --with-libwrap +CONFIGURE_ARGS+= --with-logfile=${VARBASE}/log/conserver .if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \ ${MACHINE_ARCH} == x86_64 CONFIGURE_ARGS+= --with-64bit .endif -DEFAULTPORT?= 782 -DEFAULTHOST?= localhost +BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST + RCD_SCRIPTS= conserver TEST_TARGET= test @@ -35,10 +37,16 @@ TEST_TARGET= test EGDIR= ${PREFIX}/share/examples/conserver CONF_FILES= ${EGDIR}/conserver.cf.example ${PKG_SYSCONFDIR}/conserver.cf CONF_FILES+= ${EGDIR}/conserver.passwd.example ${PKG_SYSCONFDIR}/conserver.passwd -OWN_DIRS= /var/consoles +OWN_DIRS= ${VARBASE}/consoles + +SUBST_CLASSES+= conf +SUBST_STAGE.conf= post-patch +SUBST_FILES.conf= conserver.cf/conserver.cf +SUBST_SED.conf= -e s,/var/consoles,${VARBASE}/consoles, pre-install: ${INSTALL_DATA_DIR} ${EGDIR} .include "../../security/tcp_wrappers/buildlink3.mk" + .include "../../mk/bsd.pkg.mk" |