summaryrefslogtreecommitdiff
path: root/net/py-GeoIP
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-02-04 17:44:42 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-02-04 17:44:42 +0000
commit09ec76eeaeebb8ef43120e2bd3bb8845010340e3 (patch)
treee39354a06e793c5e13563fac1ab1ee935844a002 /net/py-GeoIP
parent- Update to the latest version to date, 15.0.1 (diff)
Fix plist for cases in which NOPORTDOCS is defined.
Submitted by: markus
Notes
Notes: svn path=/head/; revision=184142
Diffstat (limited to 'net/py-GeoIP')
-rw-r--r--net/py-GeoIP/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/net/py-GeoIP/Makefile b/net/py-GeoIP/Makefile
index 477ff82d7022..c1cc3ffc9b2b 100644
--- a/net/py-GeoIP/Makefile
+++ b/net/py-GeoIP/Makefile
@@ -7,7 +7,7 @@
PORTNAME= GeoIP
PORTVERSION= 1.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net python
MASTER_SITES= http://www.maxmind.com/download/geoip/api/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,14 +23,10 @@ USE_PYDISTUTILS=yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py
+DOCSDIR= ${EXAMPLESDIR}
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/GeoIP.so \
- %%PORTDOCS%%%%EXAMPLESDIR%%/README \
- %%PORTDOCS%%%%EXAMPLESDIR%%/test.py \
- %%PORTDOCS%%%%EXAMPLESDIR%%/test_city.py \
- %%PORTDOCS%%%%EXAMPLESDIR%%/test_org.py \
- %%PORTDOCS%%%%EXAMPLESDIR%%/test_region.py
-PLIST_DIRS= %%PORTDOCS%%%%EXAMPLESDIR%%
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/GeoIP.so
+PORTDOCS= README test.py test_city.py test_org.py test_region.py
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \