summaryrefslogtreecommitdiff
path: root/net/pim6sd/Makefile
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-06-04 15:15:11 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-06-04 15:15:11 +0000
commitf03c6f9091a2f608430996b84e830b4012fb0010 (patch)
treec4d73785b89b4f0a8fdb9896b05a06ecfac8a2c6 /net/pim6sd/Makefile
parentUpdate lang/ruby to the long-awaited 1.6.4 release! Yeah! (diff)
- Add NO_CDROM attribute.
- Install configuration file and some documentation.
Notes
Notes: svn path=/head/; revision=43494
Diffstat (limited to 'net/pim6sd/Makefile')
-rw-r--r--net/pim6sd/Makefile19
1 files changed, 18 insertions, 1 deletions
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 <bsd.port.mk>