1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/devel/cvs2html/Makefile
John Marino 2f4c4a541c net-mgmt/rancid, devel/cvs(2html,-syncmail): Fix recent cvs dependency
CVS is no longer in base on FreeBSD 10 and later, but it's still in
DragonFly's base, and the devel/cvs port doesn't even build on DF.  The
dependence on CVS was added to some ports recently, make sure that only
applies to FreeBSD.  Note the rancid approach where it further limits
it to FreeBSD 10+ is better than devel/cvs* where they pull in CVS
unconditionally on FreeBSD 8 and 9 where it's not needed.  The
unmaintained cvs-syncmail port was updated to be like rancid, but I
didn't make the same update to the maintained cvs2html port.
2014-03-02 09:18:29 +00:00

40 lines
829 B
Makefile

# Created by: will
# $FreeBSD$
PORTNAME= cvs2html
PORTVERSION= 1.98
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/${PORTVERSION}/ \
http://cvs.sslug.dk/cvs2html/utils/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= crees@FreeBSD.org
COMMENT= Perl script to turn ``cvs log'' output into HTML
LICENSE= GPLv2
PLIST_FILES= bin/cvs2html
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
# DragonFly has CVS in base and devel/cvs doesn't build there
RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${PORTNAME} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>