aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-11-22 22:00:09 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-11-22 22:00:09 +0000
commit543d76f6fc4b039aa7f96417fb5d98415d72ae3c (patch)
treea730a10672dd56e6c35b52710e30c7066f6e6d0c /misc
parent1a33d3c0942813f054f94a6fb20bf8319c4ad07a (diff)
Notes
Diffstat (limited to 'misc')
-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}