2009-12-31 19:21:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-06-19 08:26:03 +02:00
|
|
|
PORTNAME= fivestarvote
|
2009-12-31 19:21:31 +01:00
|
|
|
PORTVERSION= 0.1
|
2014-06-19 08:26:03 +02:00
|
|
|
PORTREVISION= 4
|
2009-12-31 19:21:31 +01:00
|
|
|
CATEGORIES= www devel python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= brooks
|
|
|
|
PKGNAMEPREFIX= trac-
|
|
|
|
|
2013-02-28 18:06:36 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-10-31 09:43:33 +01:00
|
|
|
COMMENT= Five star plugin for voting on Trac resources
|
2009-12-31 19:21:31 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
|
|
|
|
2014-06-19 08:26:03 +02:00
|
|
|
USE_PYTHON= 2
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2009-12-31 19:21:31 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2014-06-19 08:26:03 +02:00
|
|
|
.include "${.CURDIR}/../../www/trac/plugin.mk"
|
2009-12-31 19:21:31 +01:00
|
|
|
.include <bsd.port.mk>
|