2002-06-15 23:19:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2002/06/15 21:20:03 cjep Exp $
|
1998-02-27 11:30:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= zephyr-2.0.4
|
1998-06-03 15:16:56 +02:00
|
|
|
CATEGORIES= net athena
|
1998-02-27 11:30:16 +01:00
|
|
|
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/dist/
|
|
|
|
|
1998-08-20 17:16:34 +02:00
|
|
|
MAINTAINER= mycroft@netbsd.org
|
|
|
|
HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Zephyr Messaging Service
|
1998-02-27 11:30:16 +01:00
|
|
|
|
1998-06-03 15:16:56 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-03-04 04:26:50 +01:00
|
|
|
.if defined(KERBEROS)
|
2002-06-15 23:19:59 +02:00
|
|
|
PKG_USE_KERBEROS= yes
|
1998-02-27 11:33:14 +01:00
|
|
|
CONFIGURE_ARGS+="--with-krb4"
|
2001-06-11 08:34:17 +02:00
|
|
|
CPPFLAGS+= -I/usr/include/kerberosIV
|
1999-09-14 04:32:21 +02:00
|
|
|
.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
|
1998-02-27 11:33:14 +01:00
|
|
|
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:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${ZEPHYR_RCDIR}
|
1998-02-27 12:18:08 +01:00
|
|
|
${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
|
2001-02-25 05:17:35 +01:00
|
|
|
${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
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|