Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 18:36:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369544 - head/misc/metromap
Message-ID:  <201409291836.s8TIaDfE068020@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep 29 18:36:12 2014
New Revision: 369544
URL: http://svnweb.freebsd.org/changeset/ports/369544
QAT: https://qat.redports.org/buildarchive/r369544/

Log:
  - Convert to USES=python
  - Add NO_ARCH
  - Convert manual REINPLACE_CMD to USES=shebangfix

Modified:
  head/misc/metromap/Makefile

Modified: head/misc/metromap/Makefile
==============================================================================
--- head/misc/metromap/Makefile	Mon Sep 29 18:33:48 2014	(r369543)
+++ head/misc/metromap/Makefile	Mon Sep 29 18:36:12 2014	(r369544)
@@ -14,9 +14,10 @@ COMMENT=	Simple application for finding 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/doc/COPYING
 
-USES=		tar:bzip2 gettext gmake
-USE_PYTHON=	yes
+USES=		gettext gmake python shebangfix tar:bzip2
+SHEBANG_FILES=	metromap.py
 USE_GNOME=	pygtk2
+NO_ARCH=	yes
 
 PLIST_FILES=	bin/metromap \
 		share/applications/metromap.desktop \
@@ -27,10 +28,6 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py
-	@${RM} -f ${WRKSRC}/modules/ReadMap.py.orig
-
 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?201409291836.s8TIaDfE068020>