summaryrefslogtreecommitdiffstats
path: root/graphics/py-gd
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-07-31 20:58:02 +0000
committerperky <perky@FreeBSD.org>2003-07-31 20:58:02 +0000
commitd6b29f7755e03e9fa4790b15b86835ac4b35524d (patch)
tree38db85b02e660934a9aecacb2c0eaf76860556b5 /graphics/py-gd
parentdf46b6ce5a90e1ea36337c32f810c3e8c40a9acb (diff)
downloadFreeBSD-ports-d6b29f7755e03e9fa4790b15b86835ac4b35524d.zip
FreeBSD-ports-d6b29f7755e03e9fa4790b15b86835ac4b35524d.tar.gz
Update to 0.42
Diffstat (limited to 'graphics/py-gd')
-rw-r--r--graphics/py-gd/Makefile9
-rw-r--r--graphics/py-gd/distinfo2
-rw-r--r--graphics/py-gd/pkg-plist4
3 files changed, 7 insertions, 8 deletions
diff --git a/graphics/py-gd/Makefile b/graphics/py-gd/Makefile
index a4a98f1..d0ebbbe 100644
--- a/graphics/py-gd/Makefile
+++ b/graphics/py-gd/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= gd
-PORTVERSION= 0.40
-PORTREVISION= 1
+PORTVERSION= 0.42
CATEGORIES= graphics python
MASTER_SITES= http://newcenturycomputers.net/projects/download.cgi/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +22,7 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
PYSETUP= Setup.py
-EXAMPLE_DIR= ${PREFIX}/share/examples/py-gd
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
@@ -33,8 +32,8 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLE_DIR}
- ${INSTALL_DATA} ${WRKSRC}/gddemo.py ${EXAMPLE_DIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/gddemo.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/py-gd/distinfo b/graphics/py-gd/distinfo
index dd36a11..30a23ae 100644
--- a/graphics/py-gd/distinfo
+++ b/graphics/py-gd/distinfo
@@ -1 +1 @@
-MD5 (gdmodule-0.40.tar.gz) = 03abe495106a6dfc20c34c7b8a169d27
+MD5 (gdmodule-0.42.tar.gz) = 8ec08f426706d4226643786ffbd9984f
diff --git a/graphics/py-gd/pkg-plist b/graphics/py-gd/pkg-plist
index e1c1b88..5775dc4 100644
--- a/graphics/py-gd/pkg-plist
+++ b/graphics/py-gd/pkg-plist
@@ -2,5 +2,5 @@
%%PYTHON_SITELIBDIR%%/gd.py
%%PYTHON_SITELIBDIR%%/gd.pyc
%%PYTHON_SITELIBDIR%%/gd.pyo
-%%PORTDOCS%%share/examples/py-gd/gddemo.py
-%%PORTDOCS%%@dirrm share/examples/py-gd
+%%PORTDOCS%%%%EXAMPLESDIR%%/gddemo.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
OpenPOWER on IntegriCloud