aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/pim6dd/Makefile16
-rw-r--r--net/pim6dd/files/pim6dd.conf3
-rw-r--r--net/pim6dd/pkg-plist1
-rw-r--r--net/pim6sd/Makefile19
-rw-r--r--net/pim6sd/files/pim6sd.conf3
-rw-r--r--net/pim6sd/pkg-plist1
6 files changed, 42 insertions, 1 deletions
diff --git a/net/pim6dd/Makefile b/net/pim6dd/Makefile
index 5dbf5ec23b35..87aec586b1e9 100644
--- a/net/pim6dd/Makefile
+++ b/net/pim6dd/Makefile
@@ -7,15 +7,20 @@
PORTNAME= pim6dd
PORTVERSION= 20010602a
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
MAINTAINER= ume@FreeBSD.org
+NO_CDROM= "Cannot be sold for profit"
+
MAN5= pim6dd.conf.5
MAN8= pim6dd.8
MANCOMPRESSED= yes
+DOCS= LICENSE.mrouted LICENSE.pimd
+
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
@@ -24,4 +29,15 @@ post-patch:
@${PERL} -pi.orig -e 's./usr/local/v6.${PREFIX}.g' ${WRKSRC}/${file}
.endfor
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/pim6dd.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>
diff --git a/net/pim6dd/files/pim6dd.conf b/net/pim6dd/files/pim6dd.conf
new file mode 100644
index 000000000000..4a286173f6f7
--- /dev/null
+++ b/net/pim6dd/files/pim6dd.conf
@@ -0,0 +1,3 @@
+# $FreeBSD$
+#
+phyint stf0 disable
diff --git a/net/pim6dd/pkg-plist b/net/pim6dd/pkg-plist
index d7551775780c..2f29910d3544 100644
--- a/net/pim6dd/pkg-plist
+++ b/net/pim6dd/pkg-plist
@@ -1 +1,2 @@
+etc/pim6dd.conf
sbin/pim6dd
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>
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