mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
Add trac-discussion:
The DiscussionPlugin adds discussion forums to Trac. An arbitrary number of forums can be added, organised to forum groups. Users can create topics in forums and reply to them which together creates discussion threads. Threaded or flat view to topics and its replies is supported. Each forum has a list of moderators who can delete topics, replies, etc. Appending new forums and topics either as new replies shows up in timeline. Searching capability in topics and replies is supported too.
This commit is contained in:
parent
31e8bc690b
commit
87c2c00e12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257822
@ -1658,6 +1658,7 @@
|
||||
SUBDIR += trac-customfieldadmin
|
||||
SUBDIR += trac-customroadmap
|
||||
SUBDIR += trac-datefield
|
||||
SUBDIR += trac-discussion
|
||||
SUBDIR += trac-down
|
||||
SUBDIR += trac-email2trac
|
||||
SUBDIR += trac-estimator
|
||||
|
50
www/trac-discussion/Makefile
Normal file
50
www/trac-discussion/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# New ports collection makefile for: trac-discussion
|
||||
# Date created: March 23, 2010
|
||||
# Whom: Brooks Davis <brooks@freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= brooks
|
||||
PKGNAMEPREFIX= trac-
|
||||
|
||||
MAINTAINER= brooks@freebsd.org
|
||||
COMMENT= A discussion forum plugin for Trac
|
||||
|
||||
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
|
||||
trac-spam-filter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
|
||||
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=easy_install
|
||||
PYDISTUTILS_PKGNAME= TracDiscussion
|
||||
|
||||
# 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/discussionplugin/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-discussion/distinfo
Normal file
3
www/trac-discussion/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (discussion-0.7.tar.gz) = 92c5049696b49aff834722c9858054e8
|
||||
SHA256 (discussion-0.7.tar.gz) = 15022167b9435951b713ec02f15fff39171fa5b0098d4d8846e6c72f2f80f430
|
||||
SIZE (discussion-0.7.tar.gz) = 216576
|
9
www/trac-discussion/pkg-descr
Normal file
9
www/trac-discussion/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
The DiscussionPlugin adds discussion forums to Trac. An arbitrary number
|
||||
of forums can be added, organised to forum groups. Users can create
|
||||
topics in forums and reply to them which together creates discussion
|
||||
threads. Threaded or flat view to topics and its replies is supported.
|
||||
Each forum has a list of moderators who can delete topics, replies,
|
||||
etc. Appending new forums and topics either as new replies shows up in
|
||||
timeline. Searching capability in topics and replies is supported too.
|
||||
|
||||
WWW: http://trac-hacks.org/wiki/DiscussionPlugin
|
1
www/trac-discussion/pkg-plist
Normal file
1
www/trac-discussion/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in New Issue
Block a user