pkgsrc/net/zephyr/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

# Makefile for: zephyr
1998-02-27 11:30:16 +01:00
# Version required: 2.0.4
#
# $NetBSD: Makefile,v 1.5 1998/03/20 06:38:24 mycroft Exp $
1998-02-27 11:30:16 +01:00
#
DISTNAME= zephyr-2.0.4
CATEGORIES= athena
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/dist/
MAINTAINER= mycroft@NetBSD.ORG
1998-02-27 11:30:16 +01:00
.if exists(/usr/lib/libkrb.a) && defined(MAKE_EBONES)
CONFIGURE_ARGS+="--with-krb4"
1998-02-27 11:30:16 +01:00
.endif
GNU_CONFIGURE= yes
1998-02-27 11:30:16 +01:00
MAN1= zephyr.1 xzwrite.1 zaway.1 zctl.1 zleave.1 zlocate.1 \
zmailnotify.1 znol.1 zwgc.1 zwrite.1
MAN3= com_err.3
1998-02-27 11:30:16 +01:00
MAN8= syslogd.8 zpopnotify.8 zshutdown_notify.8 zstat.8 \
zephyrd.8 zhm.8
ZEPHYR_RCDIR= ${PREFIX}/etc/rc.d
ZEPHYR_DOCDIR= ${PREFIX}/share/doc/zephyr
ZEPHYR_DOCS= INSTALL NOTES OPERATING README USING
post-install:
${MKDIR} ${ZEPHYR_RCDIR}
${SED} -e 's|@prefix@|'${PREFIX}'|g' < ${FILESDIR}/zhm.sh > ${WRKDIR}/zhm.sh
${INSTALL_SCRIPT} ${WRKDIR}/zhm.sh ${ZEPHYR_RCDIR}
1998-02-27 11:30:16 +01:00
.if !defined(NOPORTDOCS)
${MKDIR} ${ZEPHYR_DOCDIR}
for file in ${ZEPHYR_DOCS} ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${ZEPHYR_DOCDIR} ; \
done
.endif
.include <bsd.port.mk>