diff options
author | stefan <stefan@FreeBSD.org> | 2007-02-05 01:44:42 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2007-02-05 01:44:42 +0800 |
commit | a7069b0b9b9c045bc9fa3b48c9be8dbb717e9e0d (patch) | |
tree | ec25a1e5e42168e230616c8a77e4348b1860747f /net/py-GeoIP | |
parent | afc121ee5ba7af01623eb5b2877f842e76b73dde (diff) | |
download | freebsd-ports-gnome-a7069b0b9b9c045bc9fa3b48c9be8dbb717e9e0d.tar.gz freebsd-ports-gnome-a7069b0b9b9c045bc9fa3b48c9be8dbb717e9e0d.tar.zst freebsd-ports-gnome-a7069b0b9b9c045bc9fa3b48c9be8dbb717e9e0d.zip |
Fix plist for cases in which NOPORTDOCS is defined.
Submitted by: markus
Diffstat (limited to 'net/py-GeoIP')
-rw-r--r-- | net/py-GeoIP/Makefile | 12 |
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}|' \ |