diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-11-29 13:49:57 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-11-29 13:49:57 +0000 |
commit | 7705f7547f24fa8b8e11e517159d61e09131b1c9 (patch) | |
tree | 87d474d6176ae4d6ac48fdcf89d1d175725a06ff /devel/cvsd | |
parent | e2b70a7be6693ff7ef1896bf0914c4fd07b04cd7 (diff) | |
download | ports-7705f7547f24fa8b8e11e517159d61e09131b1c9.tar.gz ports-7705f7547f24fa8b8e11e517159d61e09131b1c9.zip |
Notes
Diffstat (limited to 'devel/cvsd')
-rw-r--r-- | devel/cvsd/Makefile | 40 | ||||
-rw-r--r-- | devel/cvsd/pkg-plist | 11 |
2 files changed, 27 insertions, 24 deletions
diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile index a496275e023b..5a3c22eb25ae 100644 --- a/devel/cvsd/Makefile +++ b/devel/cvsd/Makefile @@ -10,48 +10,40 @@ MASTER_SITES= http://arthurdejong.org/cvsd/ \ MAINTAINER= rum1cro@yandex.ru COMMENT= CVS pserver daemon +LICENSE= GPLv2 + EXTRA_PATCHES= ${FILESDIR}/extra-cvsd-buildroot.in +USE_RC_SUBR= cvsd USES= perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libwrap MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ AUTOHEADER="${TRUE}" -MAN5= cvsd.conf.5 -MAN8= cvsd.8 cvsd-buginfo.8 cvsd-buildroot.8 cvsd-passwd.8 +OPTIONS_DEFINE= DOCS + PORTDOCS= FAQ NEWS README -PLIST_FILES= etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \ - sbin/cvsd-buildroot sbin/cvsd-passwd -PLIST_DIRSTRY= etc/cvsd -USE_RC_SUBR= cvsd -OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ${OSVERSION} > 1000000 -BUILD_DEPENDS= cvs:${PORTSDIR}/devel/cvs -RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs +BUILD_DEPENDS+= cvs:${PORTSDIR}/devel/cvs +RUN_DEPENDS+= cvs:${PORTSDIR}/devel/cvs .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd + ${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${STAGEDIR}${PREFIX}/sbin/cvsd .for f in cvsd-buginfo cvsd-buildroot cvsd-passwd - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/sbin -.endfor - @${MKDIR} ${PREFIX}/etc/cvsd - ${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample -.for FILE in ${MAN5} - ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN5PREFIX}/man/man5 -.endfor -.for FILE in ${MAN8} - ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN8PREFIX}/man/man8 + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/sbin .endfor + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsd + ${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${STAGEDIR}${PREFIX}/etc/cvsd/cvsd.conf.sample + ${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 + ${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/devel/cvsd/pkg-plist b/devel/cvsd/pkg-plist new file mode 100644 index 000000000000..2a5bed93c1ce --- /dev/null +++ b/devel/cvsd/pkg-plist @@ -0,0 +1,11 @@ +etc/cvsd/cvsd.conf.sample +man/man5/cvsd.conf.5.gz +man/man8/cvsd-buginfo.8.gz +man/man8/cvsd-buildroot.8.gz +man/man8/cvsd-passwd.8.gz +man/man8/cvsd.8.gz +sbin/cvsd +sbin/cvsd-buginfo +sbin/cvsd-buildroot +sbin/cvsd-passwd +@dirrmtry etc/cvsd |