aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2011-04-27 08:59:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2011-04-27 08:59:32 +0800
commitb635355d56f624800256218aa1695ea207814e4b (patch)
tree4172b481b108282747087b7b6e526fe5666e08d5 /devel
parentad3776e4b6ca962456d8cdba6e0d4cd3b71ab81e (diff)
downloadfreebsd-ports-gnome-b635355d56f624800256218aa1695ea207814e4b.tar.gz
freebsd-ports-gnome-b635355d56f624800256218aa1695ea207814e4b.tar.zst
freebsd-ports-gnome-b635355d56f624800256218aa1695ea207814e4b.zip
- Install mergetools.rc for mercurial, mention it in pkg-message
Submitted by: maintainer via xmpp
Diffstat (limited to 'devel')
-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