eb597e7e34
- Install configuration files in the example directory. - Use CONF_FILES to place configuration files in PKG_SYSCONFDIR. - Honour PKG_SYSCONFDIR. - Use RCD_SCRIPTS to handle the rc.d script file. As a result, bump PKGREVISION to 1.
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2003/07/30 10:53:02 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= zephyr-2.0.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
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
|
|
|
|
CONFLICTS+= kth-krb4-[0-9]*
|
|
|
|
.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_BUILDLINK2= yes
|
|
USE_PKGINSTALL= yes
|
|
USE_X11= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
ZEPHYR_DOCDIR= ${PREFIX}/share/doc/zephyr
|
|
ZEPHYR_DOCS= INSTALL NOTES OPERATING README USING
|
|
|
|
RCD_SCRIPTS= zhm
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
|
|
PKG_SYSCONFSUBDIR= zephyr
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/acl
|
|
EGDIR= ${PREFIX}/share/examples/zephyr
|
|
CONF_FILES= # Contents set in HEADER file
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA_DIR} ${EGDIR}/acl
|
|
${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR}
|
|
.for f in ${ZEPHYR_DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${ZEPHYR_DOCDIR}
|
|
.endfor
|
|
.undef f
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|