aboutsummaryrefslogtreecommitdiffstats
path: root/dns/updatedd
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-25 08:59:55 +0800
committerbapt <bapt@FreeBSD.org>2014-01-25 08:59:55 +0800
commit91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7 (patch)
tree7c7bf443b2fd6904066522a60ab735b0656668c8 /dns/updatedd
parent21c034c753eccb8b45ef2592fdbdb43fb4e01a47 (diff)
downloadfreebsd-ports-gnome-91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7.tar.gz
freebsd-ports-gnome-91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7.tar.zst
freebsd-ports-gnome-91ebfe02ceb7d80e1e69d5b2a89d53f000c94da7.zip
Support stage
Diffstat (limited to 'dns/updatedd')
-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 9224050975eb..de362072a592 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 b3876eb72de9..9eab2d9303ef 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