freebsd-ports/www/google-sitemapgen/Makefile
Tobias Kortkamp 5c0d507e4a www/google-sitemapgen: Fix obvious typo
It causes problems later:

Writing index file "sitemap_index.xml" with 13 Sitemaps
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/sitemap_gen.py", line 2092, in <module>
    sitemap.Generate()
  File "/usr/local/lib/python2.7/site-packages/sitemap_gen.py", line 1665, in Generate
    self.WriteIndex()
  File "/usr/local/lib/python2.7/site-packages/sitemap_gen.py", line 1810, in WriteIndex
    fd.write(sitemap_index_header)
UnboundLocalError: local variable 'sitemap_index_header' referenced before assignment

PR:		233427
Submitted by:	Vladislav Movchan <vladislav.movchan@gmail.com>
2018-11-23 10:16:14 +00:00

19 lines
438 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= google-sitemapgen
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= www devel
MASTER_SITES= https://fossies.org/linux/www/old/
DISTNAME= sitemap_gen_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Script to analyze web server and generate Google Sitemap files
NO_ARCH= yes
NO_WRKSUBDIR= yes
USES= python:2.7
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>