- Trim old-style header.

- Take maintainership.
- Add LICENSE.
- MAKE_JOBS_SAFE=yes.
- Use OPTION_DEFINE.
- Use PORTDOCS for $DOCSDIR/*.
This commit is contained in:
Hiroki Sato 2013-06-13 08:01:17 +00:00
parent 922fbe347d
commit d4dbdf55e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320740
3 changed files with 21 additions and 19 deletions

View file

@ -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>

View file

@ -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/

View file

@ -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%%