# Created by: Gerrit Beine # $FreeBSD: head/www/trac-tags/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= tags DISTVERSION= 0.7.r${SVN_REV} PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= LOCAL/brooks PKGNAMEPREFIX= trac- DIST_SUBDIR= trac MAINTAINER= ports@FreeBSD.org COMMENT= Generic tags frontend for trac RUN_DEPENDS+= tracd:www/trac USES= python:2 tar:bzip2 USE_PYTHON= distutils autoplist .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: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