aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-svgwrite
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-06-30 21:07:51 +0000
committerSteve Wills <swills@FreeBSD.org>2019-06-30 21:07:51 +0000
commitc70c43ade46140e7753a59972a4ed48d2f3f075f (patch)
tree4666732529d019feede5d70bd69ef8204bcda611 /graphics/py-svgwrite
parent76349f16b68309d5bf206605dbcb8ca662c7908f (diff)
downloadports-c70c43ade46140e7753a59972a4ed48d2f3f075f.tar.gz
ports-c70c43ade46140e7753a59972a4ed48d2f3f075f.zip
Notes
Diffstat (limited to 'graphics/py-svgwrite')
-rw-r--r--graphics/py-svgwrite/Makefile11
-rw-r--r--graphics/py-svgwrite/distinfo6
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/py-svgwrite/Makefile b/graphics/py-svgwrite/Makefile
index 39e62b6d9daa..72f61a033fa5 100644
--- a/graphics/py-svgwrite/Makefile
+++ b/graphics/py-svgwrite/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= svgwrite
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +16,13 @@ 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>
diff --git a/graphics/py-svgwrite/distinfo b/graphics/py-svgwrite/distinfo
index 5210e60d8f5d..2db0476b9b76 100644
--- a/graphics/py-svgwrite/distinfo
+++ b/graphics/py-svgwrite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552416920
-SHA256 (svgwrite-1.2.1.zip) = 72ef66c9fe367989823cb237ab7f012ac809dd3ba76c1b5ebd9aa61580e2e75e
-SIZE (svgwrite-1.2.1.zip) = 176795
+TIMESTAMP = 1561316467
+SHA256 (svgwrite-1.3.0.zip) = 6a46d2b4ed7565bcff05986c88bf3020724b5ecc7608448903616818dd2bdf95
+SIZE (svgwrite-1.3.0.zip) = 186162