diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2008-10-07 13:52:13 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2008-10-07 13:52:13 +0000 |
commit | ab7f066e298fb5ac76d13cb0628e492f00ab64b1 (patch) | |
tree | 38eba6bdd6af4b08d46a0f0b81a0e5e568eb350d /net/py-GeoIP | |
parent | 8560b67ff571434ab4256a68fb3a9fe6389dcfcb (diff) | |
download | ports-ab7f066e298fb5ac76d13cb0628e492f00ab64b1.tar.gz ports-ab7f066e298fb5ac76d13cb0628e492f00ab64b1.zip |
Notes
Diffstat (limited to 'net/py-GeoIP')
-rw-r--r-- | net/py-GeoIP/Makefile | 10 | ||||
-rw-r--r-- | net/py-GeoIP/distinfo | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/net/py-GeoIP/Makefile b/net/py-GeoIP/Makefile index b629547a93aa..8224b55612f1 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 6f079a4531c3..1eb58c2ecb44 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 |