f2d3428fbb
Sort PLIST.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2001/04/05 16:58:49 wiz 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
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.gated.merit.edu/net-research/gated/
|
|
|
|
MAINTAINER= packages@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}
|
|
|
|
ALL_TARGET= gated
|
|
|
|
post-extract:
|
|
@${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
|
|
>${WRKSRC}/src/configs/netbsd
|
|
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/gated \
|
|
> ${WRKDIR}/gated
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gated
|
|
cd ${WRKSRC}/doc ; \
|
|
${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/gated ; ${GTAR} pvxf - )
|
|
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/doc/gated
|
|
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/doc/gated
|
|
${INSTALL_SCRIPT} ${WRKDIR}/gated ${PREFIX}/etc/rc.d
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|