diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-08 00:32:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-08 00:32:44 +0800 |
commit | fd05a9b558c5c78a8e5c07fd072be2397b28c776 (patch) | |
tree | 902bf672f5e370134d81109a4c994195cccb0b24 | |
parent | 2624057a0b8045e21f2f229de93f36af604d3060 (diff) | |
download | freebsd-ports-gnome-fd05a9b558c5c78a8e5c07fd072be2397b28c776.tar.gz freebsd-ports-gnome-fd05a9b558c5c78a8e5c07fd072be2397b28c776.tar.zst freebsd-ports-gnome-fd05a9b558c5c78a8e5c07fd072be2397b28c776.zip |
- Update to 3.9
- While here, add NO_ARCH and convert to options helpers
PR: 212277
Submitted by: 6yearold@gmail.com (maintainer)
-rw-r--r-- | devel/tortoisehg/Makefile | 21 | ||||
-rw-r--r-- | devel/tortoisehg/distinfo | 6 | ||||
-rw-r--r-- | devel/tortoisehg/pkg-plist | 5 |
3 files changed, 18 insertions, 14 deletions
diff --git a/devel/tortoisehg/Makefile b/devel/tortoisehg/Makefile index 4e1652f52e97..829e48cdac9e 100644 --- a/devel/tortoisehg/Makefile +++ b/devel/tortoisehg/Makefile @@ -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/ diff --git a/devel/tortoisehg/distinfo b/devel/tortoisehg/distinfo index 9f11bf7d796f..49a69e4d338b 100644 --- a/devel/tortoisehg/distinfo +++ b/devel/tortoisehg/distinfo @@ -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 diff --git a/devel/tortoisehg/pkg-plist b/devel/tortoisehg/pkg-plist index a1ea7fc41c98..3ce2e86b6ef4 100644 --- a/devel/tortoisehg/pkg-plist +++ b/devel/tortoisehg/pkg-plist @@ -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 |