bfd8e43a77
PR: 237984 Submitted by: Greg V <greg_AT_unrelenting_DOT_technology>
35 lines
752 B
Makefile
35 lines
752 B
Makefile
# Created by: Romain Tartiere <romain@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dot2tex
|
|
PORTVERSION= 2.11.3
|
|
CATEGORIES= print python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= Graphviz to LaTeX converter
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=1.4.8:devel/py-pyparsing@${PY_FLAVOR} \
|
|
dot:graphics/graphviz
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= distutils autoplist concurrent
|
|
|
|
# Enable this before running test target
|
|
# bsd.tex.mk doesnt support :test (only) depends
|
|
#USE_TEX= latex
|
|
|
|
GH_ACCOUNT= kjellmf
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m nose
|
|
|
|
.include <bsd.port.mk>
|