freebsd-ports/www/trac-ticketimport/Makefile
2017-03-14 03:14:05 +00:00

35 lines
837 B
Makefile

# $FreeBSD$
PORTNAME= ticketimport
PORTVERSION= 0.7c
PORTREVISION= 3
CATEGORIES= www devel python
MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= joneum@bsdproject.de
COMMENT= Import or update tickets from a CSV file or Excel file
LICENSE= BSD3CLAUSE # "same license as trac"
RUN_DEPENDS= tracd:www/trac \
${PYTHON_PKGNAMEPREFIX}xlrd>=0.7.1:textproc/py-xlrd
USES= python:2
USE_PYTHON= distutils autoplist
NO_ARCH= yes
# Maintainter targets below this point
# Retrieve the latest version from SVN and package in a tarball.
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn: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 <bsd.port.mk>