The FiveStarVotePlugin is a modified version of the VotePlugin
(www/trac-vote). Instead of having up and down arrows, this plugin uses a 5-star approach to rate resources. WWW: http://trac-hacks.org/wiki/FiveStarVotePlugin
This commit is contained in:
parent
9cd2c09810
commit
dbf022d629
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246944
5 changed files with 60 additions and 0 deletions
|
@ -1561,6 +1561,7 @@
|
|||
SUBDIR += trac-datefield
|
||||
SUBDIR += trac-down
|
||||
SUBDIR += trac-email2trac
|
||||
SUBDIR += trac-fivestarvote
|
||||
SUBDIR += trac-fullblog
|
||||
SUBDIR += trac-gantt
|
||||
SUBDIR += trac-gitplugin
|
||||
|
|
49
www/trac-fivestarvote/Makefile
Normal file
49
www/trac-fivestarvote/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# New ports collection makefile for: trac-fivestarvote
|
||||
# Date created: Dec 31, 2009
|
||||
# Whom: Brooks Davis <brooks@freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= brooks
|
||||
PKGNAMEPREFIX= trac-
|
||||
|
||||
MAINTAINER= brooks@freebsd.org
|
||||
COMMENT= A 5 star plugin for voting on Trac resources
|
||||
|
||||
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
||||
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=easy_install
|
||||
PYDISTUTILS_PKGNAME= FiveStarVote
|
||||
|
||||
# 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
|
||||
|
||||
# Create a pkg-plist after the package is installed.
|
||||
EGGDIR= ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
|
||||
PLIST_EGGDIR= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
build-plist:
|
||||
${FIND} ${EGGDIR} -type f | \
|
||||
${SED} -e 's|${EGGDIR}|${PLIST_EGGDIR}|' | \
|
||||
${SORT} > pkg-plist
|
||||
${FIND} ${EGGDIR} -type d | \
|
||||
${SED} -e 's|${EGGDIR}|@dirrm ${PLIST_EGGDIR}|' | \
|
||||
${SORT} -r >> pkg-plist
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/trac-fivestarvote/distinfo
Normal file
3
www/trac-fivestarvote/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (fivestarvote-0.1.tar.gz) = ed79cbb389d3ebcdc51ce95e4b259faf
|
||||
SHA256 (fivestarvote-0.1.tar.gz) = a648d657b7af82e116244a943d79bb6604ed0212a3e6daae9e943076eac064ee
|
||||
SIZE (fivestarvote-0.1.tar.gz) = 19456
|
6
www/trac-fivestarvote/pkg-descr
Normal file
6
www/trac-fivestarvote/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
This plugin is a modified version of the VotePlugin (www/trac-vote).
|
||||
|
||||
Instead of having up and down arrows, this plugin uses a 5-star approach
|
||||
to rate resources.
|
||||
|
||||
WWW: http://trac-hacks.org/wiki/FiveStarVotePlugin
|
1
www/trac-fivestarvote/pkg-plist
Normal file
1
www/trac-fivestarvote/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in a new issue