aboutsummaryrefslogtreecommitdiffstats
path: root/www/google-sitemapgen
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-01-24 02:51:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-01-24 02:51:29 +0800
commit47789f8d6b1f7092480c101bd2196d8fcaf135ca (patch)
treefbe17c439ddc6a529b3bbdb84c9f9fdcf49bc0cc /www/google-sitemapgen
parent679ed2347fe2f2b49fe881bf37be68f092ea13e9 (diff)
downloadfreebsd-ports-gnome-47789f8d6b1f7092480c101bd2196d8fcaf135ca.tar.gz
freebsd-ports-gnome-47789f8d6b1f7092480c101bd2196d8fcaf135ca.tar.zst
freebsd-ports-gnome-47789f8d6b1f7092480c101bd2196d8fcaf135ca.zip
Fix USES=python: does not work with Python 3
- Add NO_ARCH - Remove PROJECTHOST - Use USE_PYTHON=autoplist - Remove PYDISTUTILS_PKGNAME
Diffstat (limited to 'www/google-sitemapgen')
-rw-r--r--www/google-sitemapgen/Makefile11
-rw-r--r--www/google-sitemapgen/pkg-plist3
2 files changed, 4 insertions, 10 deletions
diff --git a/www/google-sitemapgen/Makefile b/www/google-sitemapgen/Makefile
index bd987e2c5f32..25206f7ad84e 100644
--- a/www/google-sitemapgen/Makefile
+++ b/www/google-sitemapgen/Makefile
@@ -10,12 +10,9 @@ DISTNAME= sitemap_gen_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Script to analyze web server and generate Google Sitemap files
-PROJECTHOST= sitemap-generators
-
-NO_WRKSUBDIR=
-
-USES= python
-USE_PYTHON= distutils
-PYDISTUTILS_PKGNAME= sitemap_gen
+NO_ARCH= yes
+NO_WRKSUBDIR= yes
+USES= python:2
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/google-sitemapgen/pkg-plist b/www/google-sitemapgen/pkg-plist
deleted file mode 100644
index 9ee1f952daad..000000000000
--- a/www/google-sitemapgen/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/sitemap_gen.py
-%%PYTHON_SITELIBDIR%%/sitemap_gen.pyc
-%%PYTHON_SITELIBDIR%%/sitemap_gen.pyo