32d8f290c2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2004/12/28 02:47:46 reed Exp $
|
|
# FreeBSD Id: Makefile,v 1.17 1998/04/26 18:47:12 peter Exp
|
|
#
|
|
|
|
DISTNAME= gated-3-5-11
|
|
PKGNAME= gated-3.5.11
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.rge.com/pub/networking/gated/ \
|
|
http://www.zcu.cz/ftp/pub/security/merit/gated/ \
|
|
http://www.funet.fi/pub/unix/tcpip/gated/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.gated.org/
|
|
COMMENT= Routing protocol daemon
|
|
|
|
RESTRICTED= "Required license from Merit"
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGINSTALL= yes
|
|
RCD_SCRIPTS= gated
|
|
RCD_SCRIPT_SRC.gated= ${FILESDIR}/gated
|
|
|
|
BUILD_TARGET= gated
|
|
|
|
post-extract:
|
|
@${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
|
|
>${WRKSRC}/src/configs/netbsd
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/src; \
|
|
obj=obj.`util/archtype`; \
|
|
${MKDIR} $$obj; \
|
|
${CP} configs/${LOWER_OPSYS} $$obj/Config; \
|
|
${RM} -f Config
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gated
|
|
cd ${WRKSRC}/doc && ${PAX} -rw -pe . ${PREFIX}/share/doc/gated
|
|
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/doc/gated
|
|
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/doc/gated
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|