pkgsrc/www/viewvc/Makefile
xtraeme ce2d86f345 Update to 1.0.4:
Version 1.0.4 (released 10-Apr-2007)

* fix some markup bugs in query views (issue #266)
* fix loginfo-handler's support for CVS 1.12.9 (issues #151, #257)
* make viewvc-install able to run from an arbitrary location
* update viewvc-install's output for readability
* fix bug writing commits to non-MyISAM databases (issue #262)
* allow long paths in generated tarballs (issue #12)
* fix bug interpreting EZT substitute patterns
* fix broken markup view disablement
* fix broken directory view link generation in directory log view
* fix Windows-specific viewvc-install bugs
* fix broke query result links for Subversion deleted items (issue #296)
* fix some output XHTML validation buglets
* fix database query cache staleness problems (issue #180)
2007-05-20 09:01:04 +00:00

54 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2007/05/20 09:01:04 xtraeme Exp $
#
DISTNAME= viewvc-1.0.4
CATEGORIES= devel www
MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/37319/
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"
CHECK_PORTABILITY_SKIP= tools/make-release
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"