mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
28 lines
638 B
Makefile
28 lines
638 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= svgwrite
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= george@m5p.com
|
|
COMMENT= Python library to create SVG drawings
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR}
|
|
|
|
USES= python zip
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PORTEXAMPLES= *
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|