aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2008-10-07 21:52:13 +0800
committerstefan <stefan@FreeBSD.org>2008-10-07 21:52:13 +0800
commitd8d0a6a6d68448cde8bc6e6b0262b32fee6e0fd6 (patch)
tree4c61788cdb26f086fd575bf8c9850491046b2ef5 /net
parentb79cb05673349c4f4a0c6e76c6608256fc6a2595 (diff)
downloadfreebsd-ports-graphics-d8d0a6a6d68448cde8bc6e6b0262b32fee6e0fd6.tar.gz
freebsd-ports-graphics-d8d0a6a6d68448cde8bc6e6b0262b32fee6e0fd6.tar.zst
freebsd-ports-graphics-d8d0a6a6d68448cde8bc6e6b0262b32fee6e0fd6.zip
- Update to 1.2.2
- Use NOPORTEXAMPLES instead of NOPORTDOCS for example files. PR: 127295 Submitted by: lwhsu
Diffstat (limited to 'net')
-rw-r--r--net/py-GeoIP/Makefile10
-rw-r--r--net/py-GeoIP/distinfo6
2 files changed, 7 insertions, 9 deletions
diff --git a/net/py-GeoIP/Makefile b/net/py-GeoIP/Makefile
index b629547a93a..8224b55612f 100644
--- a/net/py-GeoIP/Makefile
+++ b/net/py-GeoIP/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= GeoIP
-PORTVERSION= 1.2.1
-PORTREVISION= 3
+PORTVERSION= 1.2.2
CATEGORIES= net python geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,12 +21,11 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= GeoIP-Python
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py
-DOCSDIR= ${EXAMPLESDIR}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/GeoIP.so
-PORTDOCS= README test.py test_city.py test_org.py test_region.py
+PORTEXAMPLES= README test.py test_city.py test_org.py test_region.py
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
@@ -37,8 +35,8 @@ post-patch:
${WRKSRC}/test_org.py \
${WRKSRC}/test_region.py
+.if !defined(NOPORTEXAMPLES)
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
diff --git a/net/py-GeoIP/distinfo b/net/py-GeoIP/distinfo
index 6f079a4531c..1eb58c2ecb4 100644
--- a/net/py-GeoIP/distinfo
+++ b/net/py-GeoIP/distinfo
@@ -1,3 +1,3 @@
-MD5 (GeoIP-Python-1.2.1.tar.gz) = 5683420ea34490029ee0285ff048fda0
-SHA256 (GeoIP-Python-1.2.1.tar.gz) = eb481f3f7a799594c0b25c33c0ba3fbc4f054a4cf6b4739ffb56d6113881d6d3
-SIZE (GeoIP-Python-1.2.1.tar.gz) = 9779
+MD5 (GeoIP-Python-1.2.2.tar.gz) = 537ddd7b6000a283f96bdcb0a563b12e
+SHA256 (GeoIP-Python-1.2.2.tar.gz) = 45d95a003e485f41f78802412b7a6921e614012747df2b192ea4e9d9b5dc6e05
+SIZE (GeoIP-Python-1.2.2.tar.gz) = 13279