aboutsummaryrefslogtreecommitdiff
path: root/net/dhcp6
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-06-13 08:01:17 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-06-13 08:01:17 +0000
commitd4dbdf55e6b3c3d151e51d7f7049678dc8a3940f (patch)
tree57716a05e07e490ca791470a85b68729b8e71a0e /net/dhcp6
parent922fbe347dcf7a145bc3432fefcb44790cc2f6ee (diff)
downloadports-d4dbdf55e6b3c3d151e51d7f7049678dc8a3940f.tar.gz
ports-d4dbdf55e6b3c3d151e51d7f7049678dc8a3940f.zip
Notes
Diffstat (limited to 'net/dhcp6')
-rw-r--r--net/dhcp6/Makefile34
-rw-r--r--net/dhcp6/pkg-descr2
-rw-r--r--net/dhcp6/pkg-plist4
3 files changed, 21 insertions, 19 deletions
diff --git a/net/dhcp6/Makefile b/net/dhcp6/Makefile
index 1a1ca028d77a..b70eda9221e1 100644
--- a/net/dhcp6/Makefile
+++ b/net/dhcp6/Makefile
@@ -1,35 +1,39 @@
-# New ports collection makefile for: dhcp6
-# Date created: 30 July 2004
-# Whom: sumikawa
-#
+# Created by: Munechika SUMIKAWA <sumikawa@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dhcp6
PORTVERSION= 20080615
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= SF/wide-dhcpv6/wide-dhcpv6/wide-dhcpv6-${PORTVERSION}
DISTNAME= wide-dhcpv6-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT= KAME DHCP6 client, server, and relay
-WRKSRC= ${WRKDIR}/${DISTNAME}
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc --with-localdbdir=/var/db
+CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --with-localdbdir=/var/db
+MAKE_JOBS_SAFE= yes
+USE_RC_SUBR= dhcp6c dhcp6relay dhcp6s
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
MAN5= dhcp6c.conf.5 dhcp6s.conf.5
MAN8= dhcp6c.8 dhcp6s.8 dhcp6relay.8 dhcp6ctl.8
-USE_RC_SUBR= dhcp6c dhcp6relay dhcp6s
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/COPYRIGHT ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} \
+ dhcp6c.conf.sample dhcp6s.conf.sample \
+ ${PREFIX}/etc
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
- ${INSTALL_DATA} ${WRKSRC}/dhcp6c.conf.sample ${PREFIX}/etc
- ${INSTALL_DATA} ${WRKSRC}/dhcp6s.conf.sample ${PREFIX}/etc
.include <bsd.port.mk>
diff --git a/net/dhcp6/pkg-descr b/net/dhcp6/pkg-descr
index 96579edfc74b..e30ae2a90d02 100644
--- a/net/dhcp6/pkg-descr
+++ b/net/dhcp6/pkg-descr
@@ -17,4 +17,4 @@ Note that the current implementation does not support temporary
IPv6 address allocation by DHCPv6, and there is no plan to
implement that feature at the moment.
-WWW: http://wide-dhcpv6.sourceforge.net/.
+WWW: http://wide-dhcpv6.sourceforge.net/
diff --git a/net/dhcp6/pkg-plist b/net/dhcp6/pkg-plist
index bc93c7bbe30a..5fe56ba8236b 100644
--- a/net/dhcp6/pkg-plist
+++ b/net/dhcp6/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
@unexec %D/etc/rc.d/dhcp6s.sh forcestop 2>/dev/null || true
@unexec %D/etc/rc.d/dhcp6relay.sh forcestop 2>/dev/null || true
@unexec %D/etc/rc.d/dhcp6c.sh forcestop 2>/dev/null || true
@@ -10,6 +11,3 @@ sbin/dhcp6c
sbin/dhcp6relay
sbin/dhcp6s
sbin/dhcp6ctl
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%