diff options
author | adrianp <adrianp> | 2006-10-21 09:05:44 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2006-10-21 09:05:44 +0000 |
commit | 7d67cafb537902fe3d10bc3700d7d7199f4fcde5 (patch) | |
tree | 9d2bb9e669fdf8558c42f0abfd26874eb02e77f1 /www/viewvc/Makefile | |
parent | c914526d75f7bc3c4987a0a0378ca72b1f0a5e70 (diff) | |
download | pkgsrc-7d67cafb537902fe3d10bc3700d7d7199f4fcde5.tar.gz |
ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files as
well as diffs between those versions. Basically, ViewVC provides the bulk of the
report-like functionality you expect out of your version control tool, but much
more prettily than the average textual command-line program output.
Diffstat (limited to 'www/viewvc/Makefile')
-rw-r--r-- | www/viewvc/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/www/viewvc/Makefile b/www/viewvc/Makefile new file mode 100644 index 00000000000..e5c1b8555b9 --- /dev/null +++ b/www/viewvc/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $ +# + +DISTNAME= viewvc-1.0.3 +CATEGORIES= devel www +MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/34803/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://www.viewvc.org/ +COMMENT= Viewing the content of CVS/SVN repositories with a Webbrowser + +BOOTSTRAP_DEPENDS+= wget-[0-9]*:../../net/wget +PYTHON_PATCH_SCRIPTS= viewvc-install bin/* bin/cgi/*.cgi lib/*.py + +.if !exists(/usr/bin/rlog) +DEPENDS+= rcs-[0-9]*:../../devel/rcs +.endif + +NO_BUILD= YES +FETCH_CMD= ${PREFIX}/bin/wget +VIEWVCDIR= share/viewvc +PLIST_SUBST+= VIEWVCDIR=${VIEWVCDIR:Q} + +CONF_FILES= ${PREFIX}/share/examples/viewvc/viewvc.conf \ + ${PREFIX}/${VIEWVCDIR:Q}/viewvc.conf +CONF_FILES+= ${PREFIX}/share/examples/viewvc/cvsgraph.conf \ + ${PREFIX}/${VIEWVCDIR:Q}/cvsgraph.conf + +.include "options.mk" + +SUBST_CLASSES+= conf +SUBST_STAGE.conf= post-patch +SUBST_MESSAGE.conf= Fixing configuration files. +SUBST_FILES.conf= viewvc.conf.dist +SUBST_SED.conf= -e "s|@VIEWVCDIR@|${VIEWVCDIR}|g" +SUBST_SED.conf+= -e "s|@PREFIX@|${PREFIX}|g" +SUBST_SED.conf+= -e "s|@PHP_OPT@|${PHP_OPT}|g" +SUBST_SED.conf+= -e "s|@CVSGRAPH_OPT@|${CVSGRAPH_OPT}|g" + +do-install: + (cd ${WRKSRC} && \ + ${PYTHONBIN} \ + viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir="") + + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/viewvc + ${INSTALL_DATA} ${WRKSRC}/viewvc.conf.dist \ + ${PREFIX}/share/examples/viewvc/viewvc.conf + ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf.dist \ + ${PREFIX}/share/examples/viewvc/cvsgraph.conf + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" |