Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2016 16:32:45 +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: r421509 - head/devel/tortoisehg
Message-ID:  <201609071632.u87GWjUb070738@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  7 16:32:44 2016
New Revision: 421509
URL: https://svnweb.freebsd.org/changeset/ports/421509

Log:
  - Update to 3.9
  - While here, add NO_ARCH and convert to options helpers
  
  PR:		212277
  Submitted by:	6yearold@gmail.com (maintainer)

Modified:
  head/devel/tortoisehg/Makefile
  head/devel/tortoisehg/distinfo
  head/devel/tortoisehg/pkg-plist

Modified: head/devel/tortoisehg/Makefile
==============================================================================
--- head/devel/tortoisehg/Makefile	Wed Sep  7 16:18:56 2016	(r421508)
+++ head/devel/tortoisehg/Makefile	Wed Sep  7 16:32:44 2016	(r421509)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	tortoisehg
-PORTVERSION=	3.8.3
+PORTVERSION=	3.9
 CATEGORIES=	devel
 MASTER_SITES=	https://bitbucket.org/tortoisehg/targz/downloads/
 #MASTER_SITES=	http://cdn.bitbucket.org/tortoisehg/targz/downloads/
@@ -35,29 +35,30 @@ NLS_USES=	gettext
 INSTALLS_ICONS=	yes
 
 USE_PYTHON=	distutils
+NO_ARCH=	yes
 
 SUB_FILES=	pkg-message
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/_path/ s|/usr|${PREFIX}|' ${WRKSRC}/${PYSETUP}
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/contrib/tortoisehg.desktop
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/thg
-.if ${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-on:
 	@${REINPLACE_CMD} -e 's/^%%NLS%%//' ${WRKSRC}/${PYSETUP}
-.else
+
+post-patch-NLS-off:
 	@${REINPLACE_CMD} -e 's/^%%NLS%%/# /' ${WRKSRC}/${PYSETUP}
-.endif
-.if ${PORT_OPTIONS:MNAUTILUS}
+
+post-patch-NAUTILUS-on:
 	@${REINPLACE_CMD} -e 's/^%%NAUTILUS%%//' ${WRKSRC}/${PYSETUP}
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${PYSETUP}
-.else
+
+post-patch-NAUTILUS-off:
 	@${REINPLACE_CMD} -e 's/^%%NAUTILUS%%/# /' ${WRKSRC}/${PYSETUP}
-.endif
 
 post-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/tortoisehg
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/tortoisehg
 	${INSTALL_DATA} ${WRKSRC}/contrib/mergetools.rc ${STAGEDIR}${PREFIX}/share/tortoisehg/
 	${INSTALL_DATA} ${WRKSRC}/contrib/tortoisehg.desktop ${STAGEDIR}${PREFIX}/share/applications/
 

Modified: head/devel/tortoisehg/distinfo
==============================================================================
--- head/devel/tortoisehg/distinfo	Wed Sep  7 16:18:56 2016	(r421508)
+++ head/devel/tortoisehg/distinfo	Wed Sep  7 16:32:44 2016	(r421509)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1466326947
-SHA256 (tortoisehg-3.8.3.tar.gz) = 63045857067120b3e5d4bb3ff87985b9caeac27ca2e69df5946ab1a0282d08c8
-SIZE (tortoisehg-3.8.3.tar.gz) = 7817490
+TIMESTAMP = 1472641573
+SHA256 (tortoisehg-3.9.tar.gz) = 7f0eac2bb1d2540a05993390f1ebdaa62f2a98160eeee6e8129a665c4d88c19e
+SIZE (tortoisehg-3.9.tar.gz) = 7816824

Modified: head/devel/tortoisehg/pkg-plist
==============================================================================
--- head/devel/tortoisehg/pkg-plist	Wed Sep  7 16:18:56 2016	(r421508)
+++ head/devel/tortoisehg/pkg-plist	Wed Sep  7 16:32:44 2016	(r421509)
@@ -1,5 +1,5 @@
 bin/thg
-%%NAUTILUS%%lib/nautilus/extensions-2.0/python/nautilus-thg.py
+%%NAUTILUS%%share/nautilus-python/extensions/nautilus-thg.py
 %%PYTHON_SITELIBDIR%%/tortoisehg/__init__.py
 %%PYTHON_SITELIBDIR%%/tortoisehg/__init__.pyc
 %%PYTHON_SITELIBDIR%%/tortoisehg/__init__.pyo
@@ -84,6 +84,9 @@ bin/thg
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graph.py
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graph.pyc
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graph.pyo
+%%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graphopt.py
+%%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graphopt.pyc
+%%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/graphopt.pyo
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/grep.py
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/grep.pyc
 %%PYTHON_SITELIBDIR%%/tortoisehg/hgqt/grep.pyo



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