head	1.6;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.2;
locks; strict;
comment	@# @;


1.6
date	2013.02.28.17.51.58;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.11.17.06.03.08;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.10.30.19.42.39;	author rm;	state Exp;
branches;
next	1.3;

1.3
date	2010.12.25.16.55.38;	author sunpoet;	state Exp;
branches;
next	1.2;

1.2
date	2010.07.22.21.05.39;	author brooks;	state Exp;
branches;
next	1.1;

1.1
date	2010.07.15.16.32.04;	author brooks;	state Exp;
branches;
next	;


desc
@@


1.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313115
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/www/trac-discussion/Makefile 313115 2013-02-28 17:06:36Z brooks $

PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION=	0.7
PORTREVISION=	1
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

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	easy_install
PYDISTUTILS_PKGNAME=	TracDiscussion
PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

# 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>
@


1.5
log
@Switch exporter over
@
text
@d1 1
a1 2
# Created by: Brooks Davis <brooks@@freebsd.org>
# $FreeBSD: head/www/trac-discussion/Makefile 306699 2012-10-30 19:42:39Z rm $
d11 1
a11 1
MAINTAINER=	brooks@@FreeBSD.org
@


1.4
log
@SVN rev 306699 on 2012-10-30 19:42:39Z by rm

- remove direct setuptools dependency
- no PORTREVISION bump is needed, because it already depend on it via USE_DISTUTILS
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

PR:		173165
Submitted by:	rm (myself)
Approved by:	brooks (maintainer, by mail)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.3
log
@- Use canonical format for FreeBSD.org MAINTAINER addresses
- Remove obsolete MD5 checksum while I'm here

PR:		ports/152844
Submitted by:	sunpoet (myself)
Approved by:	miwi (with portmgr hat)
@
text
@d1 1
a1 4
# New ports collection makefile for: trac-discussion
# Date created:                      March 23, 2010
# Whom:                              Brooks Davis <brooks@@freebsd.org>
#
a2 1
#
d13 1
a13 1
COMMENT=	A discussion forum plugin for Trac
a16 1
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
d18 2
a19 2
USE_PYTHON=	yes
USE_PYDISTUTILS=easy_install
d21 1
@


1.2
log
@The package for the trac-spam-filter port is rather bogusly named
trac-TracSpamFilter so use that for the version based RUN_DEPEND.
@
text
@d16 1
a16 1
MAINTAINER=	brooks@@freebsd.org
@


1.1
log
@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.
@
text
@d10 1
d20 1
a20 1
		trac-spam-filter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
@

