Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 22:00:09 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426872 - head/misc/metromap
Message-ID:  <201611222200.uAMM09X9069766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Nov 22 22:00:09 2016
New Revision: 426872
URL: https://svnweb.freebsd.org/changeset/ports/426872

Log:
  - Fix build when python symlink is not present
  - Fix more python shebangs

Modified:
  head/misc/metromap/Makefile

Modified: head/misc/metromap/Makefile
==============================================================================
--- head/misc/metromap/Makefile	Tue Nov 22 21:58:48 2016	(r426871)
+++ head/misc/metromap/Makefile	Tue Nov 22 22:00:09 2016	(r426872)
@@ -3,7 +3,7 @@
 
 PORTNAME=	metromap
 PORTVERSION=	0.1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	http://metromap.antex.ru/ \
 		http://mirror.amdmi3.ru/distfiles/
@@ -15,7 +15,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/doc/COPYING
 
 USES=		gettext gmake python shebangfix tar:bzip2
-SHEBANG_FILES=	metromap.py
+SHEBANG_FILES=	metromap.py modules/*.py
 USE_GNOME=	pygtk2
 NO_ARCH=	yes
 
@@ -28,6 +28,9 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${REINPLACE_CMD} 's, python , ${PYTHON_CMD} ,' ${WRKSRC}/locale/Makefile
+
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611222200.uAMM09X9069766>