aboutsummaryrefslogtreecommitdiff
path: root/devel/tortoisehg1
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2011-04-27 00:59:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2011-04-27 00:59:32 +0000
commit7e61244260fcd41032138b34906d987b121646ae (patch)
tree48b96ad08a8b474c104c832ce2e724447661056c /devel/tortoisehg1
parent5d00d4acbf994dcbd89e303a07da75b3fd131914 (diff)
downloadports-7e61244260fcd41032138b34906d987b121646ae.tar.gz
ports-7e61244260fcd41032138b34906d987b121646ae.zip
Notes
Diffstat (limited to 'devel/tortoisehg1')
-rw-r--r--devel/tortoisehg1/Makefile6
-rw-r--r--devel/tortoisehg1/pkg-message5
-rw-r--r--devel/tortoisehg1/pkg-plist2
3 files changed, 13 insertions, 0 deletions
diff --git a/devel/tortoisehg1/Makefile b/devel/tortoisehg1/Makefile
index eeedfaa217f5..5271ff4fd9f7 100644
--- a/devel/tortoisehg1/Makefile
+++ b/devel/tortoisehg1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tortoisehg
PORTVERSION= 1.1.9.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://cdn.bitbucket.org/tortoisehg/targz/downloads/
@@ -56,5 +57,10 @@ do-build:
do-install:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} install --prefix=${PREFIX}
+ ${MKDIR} ${PREFIX}/share/tortoisehg
+ ${INSTALL_DATA} ${WRKSRC}/contrib/mergetools.rc ${PREFIX}/share/tortoisehg/
+
+post-install:
+ @${CAT} pkg-message
.include <bsd.port.mk>
diff --git a/devel/tortoisehg1/pkg-message b/devel/tortoisehg1/pkg-message
new file mode 100644
index 000000000000..a8e72435418b
--- /dev/null
+++ b/devel/tortoisehg1/pkg-message
@@ -0,0 +1,5 @@
+It is recommended %include TortoiseHG's mergetools.rc into your ~/.hgrc file,
+especially if you use textproc/kdiff3 as your merge tool.
+
+%include /usr/local/share/tortoisehg/mergetools.rc
+
diff --git a/devel/tortoisehg1/pkg-plist b/devel/tortoisehg1/pkg-plist
index f4f328917d0d..dc88cf9d0d6e 100644
--- a/devel/tortoisehg1/pkg-plist
+++ b/devel/tortoisehg1/pkg-plist
@@ -236,9 +236,11 @@ share/pixmaps/tortoisehg/icons/svg/sync.svg
share/pixmaps/tortoisehg/icons/svg/thg_logo.svg
share/pixmaps/tortoisehg/icons/thg_logo.ico
share/pixmaps/tortoisehg/icons/thg_logo_92x50.png
+share/tortoisehg/mergetools.rc
@dirrm share/pixmaps/tortoisehg/icons/svg
@dirrm share/pixmaps/tortoisehg/icons
@dirrm share/pixmaps/tortoisehg
+@dirrm share/tortoisehg
%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/oc
@dirrm %%PYTHON_SITELIBDIR%%/tortoisehg/util