aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-07-31 20:58:02 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-07-31 20:58:02 +0000
commit22ce56de7826b4f89c2cdf691d1493ed53a5a8ab (patch)
tree80ef1bee89218395b663abf66b1bf4e83a215b6c /graphics
parent70eff60778e2358da11a23bf5adc4f81b1abf9d6 (diff)
downloadports-22ce56de7826b4f89c2cdf691d1493ed53a5a8ab.tar.gz
ports-22ce56de7826b4f89c2cdf691d1493ed53a5a8ab.zip
Notes
Diffstat (limited to 'graphics')
-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 a4a98f16a35f..d0ebbbef65a1 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 dd36a11c0c20..30a23ae3e0f2 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 e1c1b8810e39..5775dc4da91a 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%%