freebsd-ports/www/trac-fivestarvote/Makefile

35 lines
831 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= fivestarvote
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
COMMENT= Five star plugin for voting on Trac resources
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
# Maintainter targets below this point
# Retrieve the latest version from SVN and package in a tarball.
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
do-fetch:
${MKDIR} ${WRKDIR}
cd ${WRKDIR} && \
svn export http://trac-hacks.org/svn/fivestarvoteplugin/0.11/ \
${DISTNAME}
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>