summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-25 00:59:55 +0000
committerbapt <bapt@FreeBSD.org>2014-01-25 00:59:55 +0000
commit91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7 (patch)
tree7c7bf443b2fd6904066522a60ab735b0656668c8
parent21c034c753eccb8b45ef2592fdbdb43fb4e01a47 (diff)
downloadFreeBSD-ports-91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7.zip
FreeBSD-ports-91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7.tar.gz
Support stage
-rw-r--r--dns/updatedd/Makefile18
-rw-r--r--dns/updatedd/pkg-plist3
2 files changed, 7 insertions, 14 deletions
diff --git a/dns/updatedd/Makefile b/dns/updatedd/Makefile
index 9224050..de36207 100644
--- a/dns/updatedd/Makefile
+++ b/dns/updatedd/Makefile
@@ -11,23 +11,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= geniusj@ods.org
COMMENT= Dynamic DNS Update Client supporting multiple services
-USES= perl5
-USE_GMAKE= yes
+OPTIONS_DEFINE= DOCS
+
+USES= gmake perl5
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-MAN1= updatedd.1 updatedd-wrapper.1
-MAN5= updatedd-wrapper.conf.5
-
-.if defined(NOPORTDOCS)
-EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-disable-portdocs
-.endif
-
-NO_STAGE= yes
-post-install:
- @if [ ! -f ${PREFIX}/etc/updatedd-wrapper.conf ]; then \
- ${CP} -p ${PREFIX}/etc/updatedd-wrapper.conf.sample ${PREFIX}/etc/updatedd-wrapper.conf ; \
- fi
+DOCS_EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-disable-portdocs
.include <bsd.port.mk>
diff --git a/dns/updatedd/pkg-plist b/dns/updatedd/pkg-plist
index b3876eb..9eab2d9 100644
--- a/dns/updatedd/pkg-plist
+++ b/dns/updatedd/pkg-plist
@@ -51,6 +51,9 @@ include/libregfish.h
include/libtzo.h
%%DATADIR%%/interface.pl
%%DATADIR%%/ipserv.pl
+man/man1/updatedd-wrapper.1.gz
+man/man1/updatedd.1.gz
+man/man5/updatedd-wrapper.conf.5.gz
@dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/updatedd-2.4-english.pdf
%%PORTDOCS%%%%DOCSDIR%%/updatedd-2.4-german.pdf
OpenPOWER on IntegriCloud