From f03c6f9091a2f608430996b84e830b4012fb0010 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 4 Jun 2001 15:15:11 +0000 Subject: - Add NO_CDROM attribute. - Install configuration file and some documentation. --- net/pim6sd/Makefile | 19 ++++++++++++++++++- net/pim6sd/files/pim6sd.conf | 3 +++ net/pim6sd/pkg-plist | 1 + 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 net/pim6sd/files/pim6sd.conf (limited to 'net/pim6sd') diff --git a/net/pim6sd/Makefile b/net/pim6sd/Makefile index 91808494408c..41461703b09d 100644 --- a/net/pim6sd/Makefile +++ b/net/pim6sd/Makefile @@ -7,15 +7,21 @@ PORTNAME= pim6sd PORTVERSION= 20010602a +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/ -MAINTAINER= ume@freebsd.org +MAINTAINER= ume@FreeBSD.org + +NO_CDROM= "Cannot be sold for profit" MAN5= pim6sd.conf.5 MAN8= pim6sd.8 MANCOMPRESSED= yes +DOCS= BUGS.TODO BUGS.V6 LICENSE.mrouted LICENSE.pim6dd \ + LICENSE.pim6sd LICENSE.pimd README README.first + BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} @@ -24,4 +30,15 @@ post-patch: @${PERL} -pi.orig -e 's./usr/local/v6.${PREFIX}.g' ${WRKSRC}/${file} .endfor +post-install: + ${INSTALL_DATA} ${FILESDIR}/pim6sd.conf ${PREFIX}/etc +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} +.for file in ${DOCS} + ${INSTALL_DATA} ${BUILD_WRKSRC}/${file} ${PREFIX}/share/doc/${PORTNAME} + @${ECHO} share/doc/${PORTNAME}/${file} >>${TMPPLIST} +.endfor + @${ECHO} "@dirrm share/doc/${PORTNAME}" >>${TMPPLIST} +.endif + .include diff --git a/net/pim6sd/files/pim6sd.conf b/net/pim6sd/files/pim6sd.conf new file mode 100644 index 000000000000..4a286173f6f7 --- /dev/null +++ b/net/pim6sd/files/pim6sd.conf @@ -0,0 +1,3 @@ +# $FreeBSD$ +# +phyint stf0 disable diff --git a/net/pim6sd/pkg-plist b/net/pim6sd/pkg-plist index fedfaa8795d7..b57bdc4b18fa 100644 --- a/net/pim6sd/pkg-plist +++ b/net/pim6sd/pkg-plist @@ -1,2 +1,3 @@ +etc/pim6sd.conf sbin/pim6sd sbin/pim6stat -- cgit v1.2.3