pkgsrc/www/websvn/Makefile
xtraeme 784133fe95 Update www/websvn to 1.40, and honour CONF_FILES and PKG_SYSCONFDIR.
Changes:

ADD: RSS feed support (thanks to Lübbe Onken for his work on this)
ADD: Translatations for French and Portuguese
ADD: .exe is recognised by default as having content-type
     application/x-msdownload
ADD: Recognised links are now 'linkified' in the log messages
ADD: Tabs in file/diff listings are now expanded by a user
     configurable number of spaces.
ADD: WebSVN URLs now access the repository by name rather than number.
     This means that bookmarks will stay the same when new projects
     are added.  The old behaviour can be configure in config.inc.

FIX: Removed the revision 0 that has appeared in the previous version
FIX: Repositories were not sorted alphabetically when using ParentPath
FIX: The PNG support script needed for IE (and the BlueGrey scheme) is
     now only loaded with IE
2004-06-21 01:34:16 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2004/06/21 01:34:16 xtraeme Exp $
#
DISTNAME= WebSVN_140
PKGNAME= websvn-1.40
CATEGORIES= www
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/10659/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://websvn.tigris.org/
COMMENT= Subversion repository web frontend
BUILD_DEPENDS+= {apache-[0-9]*,apache6-[0-9]*,apache2-[0-9]*}:../../www/apache2
BUILD_DEPENDS+= ap-php-[0-9]*:../../www/ap-php4
WRKSRC= ${WRKDIR}/WebSVN
NO_BUILD= yes
USE_PKGINSTALL= yes
PKG_SYSCONFDIR.websvn= ${PREFIX}/${HTTPD_ROOT}/websvn/include
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
MESSAGE_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
PLIST_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
HTTPD_ROOT?= share/httpd/htdocs
BUILD_DEFS+= HTTPD_ROOT
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
MAKE_DIRS= ${PREFIX}/${HTTPD_ROOT}/websvn/include
CONF_FILES= ${EGDIR}/distconfig.inc ${PKG_SYSCONFDIR}/config.inc
INSTALLATION_DIRS= ${HTTPD_ROOT}/websvn share/examples/${PKGBASE}
do-install:
${INSTALL_DATA} ${WRKSRC}/include/distconfig.inc ${EGDIR}
cd ${WRKSRC} && ${PAX} -rwppm . ${PREFIX}/${HTTPD_ROOT}/websvn
post-install:
${RM} ${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.inc
.include "../../mk/bsd.pkg.mk"