freebsd-ports/www/trac-ticketimport/Makefile
Marcus von Appen 7629bc6173 - Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
2014-06-17 20:52:50 +00:00

35 lines
909 B
Makefile

# $FreeBSD$
PORTNAME= ticketimport
PORTVERSION= 0.7c
PORTREVISION= 3
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
COMMENT= Import or update tickets from a CSV file or Excel file
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
${PYTHON_PKGNAMEPREFIX}xlrd>=0.7.1:${PORTSDIR}/textproc/py-xlrd
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
# 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/ticketimportplugin/0.11/ \
${DISTNAME}
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>