pkgsrc/www/viewvc/Makefile
wiz 784d537907 Update to 1.1.23:
Version 1.1.23 (released 04-Nov-2014)

  * fix annotate bug triggered by files with trailing blank lines (issue #533)
  * fix markup display of files with trailing blank lines (issue #533)
  * add support for root-relative svnauthz access files (issue #535)
  * fix cvsdb MySQL-python argument conversion error (issue #539)
  * fix double-escaping of revision links (issue #541)
  * fix bug that prevented mod_python 3.4+ deployment (issue #540)

Version 1.1.22 (released 14-Jan-2014)

  * minor directory sorting logic fix (re: show_subdir_lastmod)
  * fix display of show_subdir_lastmod details (issue #532)
  * pay attention to chardet's detection confidence
  * linkify line numbers in markup/annotate view

Version 1.1.21 (released 13-Sep-2013)

  * fix markup/annotate exception with Python < 2.7 (issue #527)
2015-01-16 12:12:03 +00:00

70 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2015/01/16 12:12:03 wiz Exp $
DISTNAME= viewvc-1.1.23
CATEGORIES= devel www
MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/49392/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.viewvc.org/
COMMENT= Viewing the content of CVS/SVN repositories with a Webbrowser
LICENSE= 2-clause-bsd
REPLACE_PYTHON= viewvc-install bin/* bin/cgi/*.cgi lib/*.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 1.1.20
.if !exists(/usr/bin/rlog)
DEPENDS+= rcs-[0-9]*:../../devel/rcs
RCS_PKG= YES
.else
RCS_PKG= NO
.endif
NO_BUILD= YES
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= conf/viewvc.conf.dist
SUBST_FILES.conf+= conf/cvsgraph.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"
.if defined(RCS_PKG) && ${RCS_PKG} == "YES"
SUBST_SED.conf+= -e "s|@RCS_PREFIX@|${PREFIX}|g"
.else
SUBST_SED.conf+= -e "s|@RCS_PREFIX@|/usr|g"
.endif
CHECK_PORTABILITY_SKIP= tools/make-release
INSTALLATION_DIRS= share/examples/viewvc
do-install:
(cd ${WRKSRC} && \
${PYTHONBIN} \
viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir=${DESTDIR})
${INSTALL_DATA} ${WRKSRC}/conf/viewvc.conf.dist \
${DESTDIR}${PREFIX}/share/examples/viewvc/viewvc.conf
${INSTALL_DATA} ${WRKSRC}/conf/cvsgraph.conf.dist \
${DESTDIR}${PREFIX}/share/examples/viewvc/cvsgraph.conf
post-install:
${CHMOD} ${SHAREMODE} \
${DESTDIR}/${PREFIX}/share/viewvc/bin/mod_python/.htaccess
${CHMOD} ${SHAREMODE} \
${DESTDIR}/${PREFIX}/share/viewvc/bin/mod_python/*.py
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"