2013-12-08 04:55:43 +01:00
|
|
|
# $NetBSD: Makefile,v 1.39 2013/12/08 03:55:43 dholland Exp $
|
1998-06-26 02:21:03 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= gated-3-5-11
|
|
|
|
PKGNAME= gated-3.5.11
|
2013-12-08 04:55:43 +01:00
|
|
|
PKGREVISION= 5
|
1998-06-26 02:21:03 +02:00
|
|
|
CATEGORIES= net
|
2010-11-13 22:08:54 +01:00
|
|
|
MASTER_SITES= http://www.funet.fi/pub/unix/tcpip/gated/
|
1998-06-26 02:21:03 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.gated.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Routing protocol daemon
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= gated-license
|
1998-06-26 02:21:03 +02:00
|
|
|
|
2011-11-12 00:43:43 +01:00
|
|
|
SPECIAL_PERMS+= bin/gdc ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4510 \
|
|
|
|
bin/ospf_monitor ${SETUID_ROOT_PERMS}
|
|
|
|
|
2006-04-22 11:22:05 +02:00
|
|
|
RESTRICTED= Required license from Merit
|
2000-08-19 00:46:29 +02:00
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
1998-07-02 23:44:57 +02:00
|
|
|
|
2009-05-19 10:59:00 +02:00
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # no userland routing table support
|
|
|
|
|
2012-03-26 13:56:12 +02:00
|
|
|
USE_TOOLS+= lex yacc pax
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2004-07-10 23:00:00 +02:00
|
|
|
RCD_SCRIPTS= gated
|
|
|
|
RCD_SCRIPT_SRC.gated= ${FILESDIR}/gated
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= gated
|
1998-07-02 23:23:44 +02:00
|
|
|
|
2011-11-12 00:43:43 +01:00
|
|
|
INSTALL_MAKE_FLAGS= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 sbin share/doc/gated
|
|
|
|
|
1998-07-02 23:23:44 +02:00
|
|
|
post-extract:
|
|
|
|
@${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
|
|
|
|
>${WRKSRC}/src/configs/netbsd
|
2006-06-02 00:40:19 +02:00
|
|
|
@${SED} -e 's#@PREFIX@#${PREFIX}#' <${FILESDIR}/configuration \
|
|
|
|
>${WRKSRC}/src/configs/dragonfly
|
1998-06-26 02:21:03 +02:00
|
|
|
|
2001-10-25 22:16:53 +02:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC}/src; \
|
|
|
|
obj=obj.`util/archtype`; \
|
|
|
|
${MKDIR} $$obj; \
|
|
|
|
${CP} configs/${LOWER_OPSYS} $$obj/Config; \
|
|
|
|
${RM} -f Config
|
|
|
|
|
1999-11-19 14:23:51 +01:00
|
|
|
post-install:
|
2011-11-12 00:43:43 +01:00
|
|
|
cd ${WRKSRC}/doc && pax -rw . ${DESTDIR}${PREFIX}/share/doc/gated
|
|
|
|
${CHOWN} -R ${SHAREOWN} ${DESTDIR}${PREFIX}/share/doc/gated
|
|
|
|
${CHGRP} -R ${SHAREGRP} ${DESTDIR}${PREFIX}/share/doc/gated
|
|
|
|
${FIND} ${DESTDIR}${PREFIX}/share/doc/gated -type f -print | \
|
2007-04-24 14:14:23 +02:00
|
|
|
${XARGS} ${CHMOD} -x
|
1999-11-19 14:23:51 +01:00
|
|
|
|
1998-06-26 02:21:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|