summaryrefslogtreecommitdiff
path: root/net/zephyr/Makefile
blob: c37f4c7874b316c7ac3e5896e704c2a123421969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.22 2001/06/11 06:34:47 jlam 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)
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"