blob: 2c3ad87310a80003fd093ead1d0f02950cb5601a (
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
39
40
41
42
|
# $NetBSD: Makefile,v 1.13 2003/06/02 01:17:59 jschauma 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= 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}
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
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
${INSTALL_SCRIPT} ${WRKDIR}/gated ${PREFIX}/etc/rc.d
.include "../../mk/bsd.pkg.mk"
|