pkgsrc-wip/trac-plugins-TimingAndEstimation/Makefile
Greg Troxel fc3ee815dd Update to r5370. Change since r5162 is updating of commit hook script
to match trac 0.11.3's script except for intentional differences to
record hours.
2009-03-23 17:39:53 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2009/03/23 17:39:53 lexort Exp $
SVNVERSION= 5370
VERSION= 0.7.6.${SVNVERSION}
DISTNAME= TracTimingAndEstimation-${VERSION}
PKGNAME= trac-plugins-TimingAndEstimation-${VERSION}
# Empty to avoid default setting.
EGG_NAME= ${DISTNAME}
CATEGORIES= www
MASTER_SITES= # not defined
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://trac-hacks.org/wiki/TimingAndEstimationPlugin
COMMENT= TimingAndEstimation plugin for Trac
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= {ja-,}trac>=0.11:../../www/trac
SVN_REPOSITORIES= plugin
SVN_ROOT.plugin= http://trac-hacks.org/svn/timingandestimationplugin/branches/trac0.11
SVN_TAG.plugin= ${SVNVERSION}
NO_CHECKSUM= yes
WRKSRC= ${WRKDIR}/plugin
# Bogus, but needed because setup runs as root during build.
PRIVILEGED_STAGES+= clean
REPLACE_PYTHON= scripts/trac-post-commit.py
EGDIR= share/examples/trac
post-extract:
find ${WRKSRC} -type d -name .svn -print | xargs rm -r
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/trac-post-commit.py ${DESTDIR}${PREFIX}/${EGDIR}/TimingAndEstimation-post-commit.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../wip/mk/svn-package.mk"
.include "../../mk/bsd.pkg.mk"