freebsd-ports/www/trac-ticketimport/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

35 lines
850 B
Makefile

# $FreeBSD$
PORTNAME= ticketimport
PORTVERSION= 0.7c
PORTREVISION= 4
CATEGORIES= www devel python
MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= joneum@FreeBSD.org
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@${PY_FLAVOR}
USES= python:2.7
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>