pkgsrc/net/zephyr/Makefile
cjep 64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00

38 lines
999 B
Makefile

# $NetBSD: Makefile,v 1.23 2002/06/15 21:20:03 cjep Exp $
#
DISTNAME= zephyr-2.0.4
CATEGORIES= net athena
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/dist/
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html
COMMENT= Zephyr Messaging Service
.include "../../mk/bsd.prefs.mk"
.if defined(KERBEROS)
PKG_USE_KERBEROS= yes
CONFIGURE_ARGS+="--with-krb4"
CPPFLAGS+= -I/usr/include/kerberosIV
.else
CONFIGURE_ARGS+="--without-krb4"
.endif
USE_X11= yes
GNU_CONFIGURE= yes
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
${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR}
for file in ${ZEPHYR_DOCS} ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${ZEPHYR_DOCDIR} ; \
done
.include "../../mk/bsd.pkg.mk"