head	1.7;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


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

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

1.5
date	2012.10.30.19.44.54;	author rm;	state Exp;
branches;
next	1.4;

1.4
date	2011.05.31.21.24.40;	author brooks;	state Exp;
branches;
next	1.3;

1.3
date	2011.01.12.00.47.16;	author brooks;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.7
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-downloads/Makefile 313115 2013-02-28 17:06:36Z brooks $

PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
PORTVERSION=	${TRAC_VERSION}.${PLUGIN_VERSION}.${SVN_REV}
PORTREVISION=	1
CATEGORIES=	www devel python
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	brooks
PKGNAMEPREFIX=	trac-
DISTNAME=	${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR=	trac

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Trac plugin providing a downloads section

RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac

TRAC_VERSION=	0.12
PLUGIN_VERSION=	0.3
SVN_REV=	10047

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	easy_install
PYDISTUTILS_PKGNAME=	TracDownloads
PYDISTUTILS_PKGVERSION=	${PLUGIN_VERSION}
PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

.if defined(BOOTSTRAP)
do-fetch:
	${MKDIR} ${WRKDIR}
	svn export -r ${SVN_REV} http://trac-hacks.org/svn/downloadsplugin/${TRAC_VERSION}/ ${WRKSRC}
	${MKDIR} ${_DISTDIR}
	cd ${WRKDIR} && \
	    tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif

.include <bsd.port.mk>
@


1.6
log
@Switch exporter over
@
text
@d1 1
a1 2
# Created by: Brooks Davis <brooks@@freebsd.org>
# $FreeBSD: head/www/trac-downloads/Makefile 306702 2012-10-30 19:44:54Z rm $
d13 1
a13 1
MAINTAINER=	brooks@@FreeBSD.org
@


1.5
log
@SVN rev 306702 on 2012-10-30 19:44:54Z by rm

- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- clean-up unsupported python versions (apply the >2.6 patch unconditionally)

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


1.4
log
@Upgrade to the latest SVN revsion which fixes a number of bugs.

Also patch a bug in the command line interface which prevented
"trac-admin <env> download add <file>" from working.  I'm pretty sure it
hadn't worked in several years.
@
text
@d1 1
a1 4
# New ports collection makefile for: trac-mercurial
# Date created:                      January 23, 2009
# Whom:                              Brooks Davis <brooks@@freebsd.org>
#
a2 1
#
d6 1
d15 1
a15 1
COMMENT=	A trac plugin providing a downloads section
a17 1
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
d23 2
a24 3
USE_PYTHON=	yes
NO_BUILD=	yes
USE_PYDISTUTILS=yes
d26 2
a27 3
PYDISTUTILS_NOEGGINFO=	yes

PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PLUGIN_VERSION}-py${PYTHON_VER}.egg
d38 1
a38 7
.include <bsd.port.pre.mk>

.if ${PYTHON_REL} >= 260
EXTRA_PATCHES=	${PATCHDIR}/no-sets-module.diff
.endif

.include <bsd.port.post.mk>
@


1.3
log
@Update to the latest trac-downloads module for trac 0.12. [1]

On versions of python where it will throw a exception, don't bother
including the sets module and ignoring the exception.  The process of
doing so clusters logs an script output.

Submitted by:   Michiel van Baak <michiel at vanbaak.info> [1]
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	${TRAC_VERSION}.${PLUGIN_VERSION}
d25 1
d38 1
a38 1
	svn export http://trac-hacks.org/svn/downloadsplugin/${TRAC_VERSION}/ ${WRKSRC}
@


1.2
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
@d23 2
a24 2
TRAC_VERSION=	0.11
PLUGIN_VERSION=	0.2
d37 1
a37 1
	svn export http://trac-hacks.org/svn/downloadsplugin/0.11/ ${WRKSRC}
d43 7
a49 1
.include <bsd.port.mk>
@


1.1
log
@This plugin provides downloads section which may contain releases or
other files. It is administrated via WebAdminPlugin and there is an
interface to the trac-admin tool that may help during automatic server
maintenance. The Downloads section of Trac displays a table with
information about the uploaded files such as description, component,
version, size, architecture, type and optionally assigned tags which the
download is related to. It also collects information about number of
downloads which can be displayed on wiki page together with direct links
to the specified download.

WWW: http://trac-hacks.org/wiki/DownloadsPlugin
@
text
@d17 1
a17 1
MAINTAINER=	brooks@@freebsd.org
@

