aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-11-23 06:00:09 +0800
committerantoine <antoine@FreeBSD.org>2016-11-23 06:00:09 +0800
commit02add750a56fc0791e24dd5c77cc8fe50bf90514 (patch)
treea730a10672dd56e6c35b52710e30c7066f6e6d0c
parent05241b2c6f3c26c25ca800e284f53a8e74f9fb84 (diff)
downloadfreebsd-ports-gnome-02add750a56fc0791e24dd5c77cc8fe50bf90514.tar.gz
freebsd-ports-gnome-02add750a56fc0791e24dd5c77cc8fe50bf90514.tar.zst
freebsd-ports-gnome-02add750a56fc0791e24dd5c77cc8fe50bf90514.zip
- Fix build when python symlink is not present
- Fix more python shebangs
-rw-r--r--misc/metromap/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/metromap/Makefile b/misc/metromap/Makefile
index 42a3f7a301ed..348c7005c6d5 100644
--- a/misc/metromap/Makefile
+++ b/misc/metromap/Makefile
@@ -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}