pkgsrc/net/zephyr/Makefile

39 lines
995 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2001/06/11 06:34:47 jlam Exp $
1998-02-27 11:30:16 +01:00
#
DISTNAME= zephyr-2.0.4
CATEGORIES= net athena
1998-02-27 11:30:16 +01:00
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
1998-02-27 11:30:16 +01:00
.include "../../mk/bsd.prefs.mk"
2001-03-04 04:26:50 +01:00
.if defined(KERBEROS)
USE_KERBEROS= yes
CONFIGURE_ARGS+="--with-krb4"
CPPFLAGS+= -I/usr/include/kerberosIV
.else
CONFIGURE_ARGS+="--without-krb4"
1998-04-09 21:49:16 +02:00
.endif
1999-04-26 21:15:37 +02:00
USE_X11= yes
GNU_CONFIGURE= yes
1998-02-27 11:30:16 +01:00
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
2001-01-26 06:21:43 +01:00
${INSTALL_SCRIPT} ${WRKDIR}/zhm.sh ${ZEPHYR_RCDIR}/zhm
${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR}
1998-02-27 11:30:16 +01:00
for file in ${ZEPHYR_DOCS} ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${ZEPHYR_DOCDIR} ; \
done
.include "../../mk/bsd.pkg.mk"