diff options
Diffstat (limited to 'chat/zephyr-current/Makefile')
-rw-r--r-- | chat/zephyr-current/Makefile | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/chat/zephyr-current/Makefile b/chat/zephyr-current/Makefile index f7b895aef78..060f4abd0e0 100644 --- a/chat/zephyr-current/Makefile +++ b/chat/zephyr-current/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2003/07/17 21:26:32 grant Exp $ +# $NetBSD: Makefile,v 1.5 2003/07/29 18:55:56 jmmv Exp $ # DISTNAME= zephyr-20010518 +PKGREVISION= 1 WRKSRC= ${WRKDIR}/zephyr CATEGORIES= chat net MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/ @@ -11,28 +12,36 @@ HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html COMMENT= Project Athena's original Instant Messaging system USE_BUILDLINK2= YES +USE_PKGINSTALL= YES GNU_CONFIGURE= YES USE_X11= YES # N.B. the following assume NetBSD-only. CPPFLAGS+= -I/usr/include/kerberosIV -I/usr/include/krb5 LDFLAGS+= -lroken -lcrypto -lcom_err -ledit -lcurses +CONFIGURE_ARGS= --sysconfdir="${PKG_SYSCONFDIR}" CONFIGURE_ARGS+="--with-krb4" CONFIGURE_ARGS+="--with-hesiod" CONFIGURE_ARGS+="--with-ares" -ZEPHYR_RCDIR= ${PREFIX}/etc/rc.d ZEPHYR_DOCDIR= ${PREFIX}/share/doc/zephyr ZEPHYR_DOCS= INSTALL NOTES OPERATING README USING -post-install: - ${INSTALL_DATA_DIR} ${ZEPHYR_RCDIR} - ${SED} -e 's|@prefix@|'${PREFIX}'|g' < ${FILESDIR}/zhm.sh > ${WRKDIR}/zhm.sh - ${INSTALL_SCRIPT} ${WRKDIR}/zhm.sh ${ZEPHYR_RCDIR}/zhm +PKG_SYSCONFSUBDIR= zephyr +OWN_DIRS= ${PKG_SYSCONFDIR}/acl +EGDIR= ${PREFIX}/share/examples/zephyr +CONF_FILES= ${EGDIR}/default.subscriptions \ + ${PKG_SYSCONFDIR}/default.subscriptions + +RCD_SCRIPTS= zhm + +pre-install: + ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR} - for f in ${ZEPHYR_DOCS} ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${ZEPHYR_DOCDIR} ; \ - done +.for f in ${ZEPHYR_DOCS} + ${INSTALL_DATA} ${WRKSRC}/$f ${ZEPHYR_DOCDIR} +.endfor +.undef f .include "../../devel/readline/buildlink2.mk" .include "../../net/hesiod/buildlink2.mk" |