mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
1b0994ee1e
With hat: python@
35 lines
863 B
Makefile
35 lines
863 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= discussion
|
|
PORTVERSION= 0.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= brooks
|
|
PKGNAMEPREFIX= trac-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Discussion forum plugin for Trac
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
|
|
trac-TracSpamFilter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
# 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
|
|
|
|
.include "${.CURDIR}/../../www/trac/plugin.mk"
|
|
.include <bsd.port.mk>
|