# Created by: Gerrit Beine # $FreeBSD$ PORTNAME= tags DISTVERSION= 0.7.r${SVN_REV} PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks PKGNAMEPREFIX= trac- DIST_SUBDIR= trac MAINTAINER= ports@FreeBSD.org COMMENT= Generic tags frontend for trac RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac USES= tar:bzip2 USE_PYTHON= 2 USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes .include "${.CURDIR}/../../www/trac/plugin.mk" .include .if !defined(SVN_REV) .if defined(BOOTSTRAP) LANG= "C" SVN_REV!= svn info http://trac-hacks.org/svn/tagsplugin/trunk/ | ${GREP} Revision | cut -d' ' -f2 .else .include "Makefile.svn_rev" .endif .endif .if defined(BOOTSTRAP) || defined(SVN_FETCH) FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion do-fetch: ${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} \ http://trac-hacks.org/svn/tagsplugin/trunk/ ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev .if ${USER} == brooks scp ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif .include