diff options
author | ohauer <ohauer@FreeBSD.org> | 2013-09-14 17:59:28 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2013-09-14 17:59:28 +0800 |
commit | 14d6ab2910f544b28bc43d24b9d3ebf06661deb0 (patch) | |
tree | 976d38a612ec81b342dda7b845200e140f0ee244 /devel/cvsd | |
parent | d021dcc1aba12198162f0ba4269441cb43fd3ad9 (diff) | |
download | freebsd-ports-gnome-14d6ab2910f544b28bc43d24b9d3ebf06661deb0.tar.gz freebsd-ports-gnome-14d6ab2910f544b28bc43d24b9d3ebf06661deb0.tar.zst freebsd-ports-gnome-14d6ab2910f544b28bc43d24b9d3ebf06661deb0.zip |
- fix r327153, cvs is only required
.if ${OSVERSION} > 1000000
- since I'm here do some minor cleanup
Diffstat (limited to 'devel/cvsd')
-rw-r--r-- | devel/cvsd/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile index afe02e85b45b..c550a1654539 100644 --- a/devel/cvsd/Makefile +++ b/devel/cvsd/Makefile @@ -13,8 +13,6 @@ COMMENT= CVS pserver daemon EXTRA_PATCHES= ${FILESDIR}/extra-cvsd-buildroot.in USES= perl5 -BUILD_DEPENDS= cvs:${PORTSDIR}/devel/cvs -RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libwrap MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ @@ -25,9 +23,17 @@ MAN8= cvsd.8 cvsd-buginfo.8 cvsd-buildroot.8 cvsd-passwd.8 PORTDOCS= FAQ NEWS README PLIST_FILES= etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \ sbin/cvsd-buildroot sbin/cvsd-passwd -PLIST_DIRS= etc/cvsd +PLIST_DIRSTRY= etc/cvsd USE_RC_SUBR= cvsd +OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OSVERSION} > 1000000 +BUILD_DEPENDS= cvs:${PORTSDIR}/devel/cvs +RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd .for f in cvsd-buginfo cvsd-buildroot cvsd-passwd @@ -41,11 +47,9 @@ do-install: .for FILE in ${MAN8} ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN8PREFIX}/man/man8 .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for docs in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |