pkgsrc/www/cvsweb/Makefile
adrianp 2fe177382d Update to 3.0.6
2005-09-25  Ville Skyttä  <scop@FreeBSD.org>
* Release 3.0.6.
* README: CVS home page has moved to http://www.nongnu.org/cvs/

2005-08-26  Ville Skyttä  <scop@FreeBSD.org>
* cvsweb.cgi: Allow the "content-type" CGI param to contain "+".
[Submitted by: <charles.buysschaert@advalvas.be>]

2005-06-19  Ville Skyttä  <scop@FreeBSD.org>
* cvsweb.conf: Spelling fixes.
[Submitted by: Zafer Aydogan <zafer@gmx.org>,
Jonathan Noack <noackjr@alumni.rice.edu>]

2005-05-06  Ville Skyttä  <scop@FreeBSD.org>
* cvsweb.cgi (printLog): Improve presentation of the "Diff to ..."
lines, thanks to Jerry Nairn for pointing this out.

2005-04-11  Ville Skyttä  <scop@FreeBSD.org>
* cvsweb.cgi (human_readable_diff): Try harder to output sane
revision numbers when rcsdiff produced no output.
[Submitted by: Jerry Nairn <jpnairn@gmail.com>,
Jon Noack <noackjr@alumni.rice.edu> (modified)]
2006-09-06 19:24:10 +00:00

74 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2006/09/06 19:24:10 adrianp Exp $
#
DISTNAME= cvsweb-3.0.6
CATEGORIES= www
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html
COMMENT= Web interface for browsing a CVS repository
DEPENDS+= p5-File-Temp>=0.12:../../devel/p5-File-Temp
DEPENDS+= p5-IPC-Run>=0.74:../../devel/p5-IPC-Run
DEPENDS+= p5-MIME-Types>=1.12:../../mail/p5-MIME-Types
DEPENDS+= p5-URI>=1.30:../../www/p5-URI
.if !exists(/usr/bin/rlog)
DEPENDS+= rcs-[0-9]*:../../devel/rcs
.endif
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL= cvsweb.cgi
PKG_SYSCONFSUBDIR?= cvsweb
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
CVSWEB_CONF_FILES= cvsweb.conf \
cvsweb.conf-freebsd \
cvsweb.conf-netbsd \
cvsweb.conf-openbsd \
cvsweb.conf-ruby
CVSWEB_CSS= cvsweb.css
CVSWEB_ICONS= back.gif binary.gif dir.gif \
miniback.gif minidir.gif minigraph.png minitext.gif \
text.gif
CVSWEB_DOCS= ChangeLog INSTALL NEWS README TODO
CONF_FILES= ${EGDIR}/cvsweb.conf ${PKG_SYSCONFDIR}/cvsweb.conf
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin
${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/libexec/cgi-bin
${INSTALL_DATA_DIR} ${EGDIR}
.for f in ${CVSWEB_CONF_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}/${f}
.endfor
${INSTALL_DATA_DIR} ${EGDIR}/icons
.for f in ${CVSWEB_ICONS}
${INSTALL_DATA} ${WRKSRC}/icons/${f} ${EGDIR}/icons/${f}
.endfor
${INSTALL_DATA_DIR} ${EGDIR}/css
.for f in ${CVSWEB_CSS}
${INSTALL_DATA} ${WRKSRC}/css/${f} ${EGDIR}/css/${f}
.endfor
${INSTALL_DATA_DIR} ${DOCDIR}
.for f in ${CVSWEB_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f}
.endfor
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= cvsweb.conf cvsweb.cgi INSTALL
SUBST_SED.prefix= -e "s,/usr/local/etc/apache,${PKG_SYSCONFBASE}/httpd,g"
SUBST_SED.prefix+= -e "s,/usr/local/etc/cvsweb,${PKG_SYSCONFDIR},g"
SUBST_SED.prefix+= -e "s,/usr/local/bin,${LOCALBASE}/bin,g"
SUBST_MESSAGE.prefix= Fixing harcoded paths.
.include "../../mk/bsd.pkg.mk"