summaryrefslogtreecommitdiff
path: root/comms/conserver8/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/conserver8/Makefile')
-rw-r--r--comms/conserver8/Makefile37
1 files changed, 9 insertions, 28 deletions
diff --git a/comms/conserver8/Makefile b/comms/conserver8/Makefile
index be048fa4ce9..135b80d7891 100644
--- a/comms/conserver8/Makefile
+++ b/comms/conserver8/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2008/01/18 05:06:25 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2009/06/14 07:52:51 wiz Exp $
#
DISTNAME= conserver-8.1.16
PKGNAME= conserver8-8.1.16
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= comms
MASTER_SITES= ftp://ftp.conserver.com/conserver/
@@ -13,6 +13,9 @@ COMMENT= Application that allows multiple users to watch serial consoles
CONFLICTS= conserver-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= ${EGDIR} ${DOCDIR}
+
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
@@ -24,27 +27,9 @@ CONFIGURE_ARGS+= --with-regex
CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
CONFIGURE_ARGS+= --with-logfile=${VARBASE:Q}/log/conserver
-PKG_OPTIONS_VAR= PKG_OPTIONS.conserver8
-PKG_SUPPORTED_OPTIONS= pam ssl uds
-PKG_SUGGESTED_OPTIONS= ssl
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mpam)
-. include "../../mk/pam.buildlink3.mk"
-CONFIGURE_ARGS+= --with-pam
-.endif
+.include "options.mk"
-.if !empty(PKG_OPTIONS:Muds)
-CONFIGURE_ARGS+= --with-uds
-.endif
-
-.if !empty(PKG_OPTIONS:Mssl)
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
-. include "../../security/openssl/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-openssl
-.endif
-BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST
+BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST VARBASE
RCD_SCRIPTS= conserver8
@@ -59,15 +44,11 @@ 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}
+SUBST_SED.conf= -e "s,/var/consoles,${VARBASE}/consoles,"
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
set -e; for File in INSTALL README PROTOCOL; do \
- ${INSTALL_DATA} ${WRKSRC}/$${File} ${DOCDIR}/$${File}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${File} ${DESTDIR}${DOCDIR}/$${File}; \
done
.include "../../security/tcp_wrappers/buildlink3.mk"