aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2008-07-10 05:52:26 +0800
committerkuriyama <kuriyama@FreeBSD.org>2008-07-10 05:52:26 +0800
commit0951359dd242517f3562ab31b20f0663f0f18f6c (patch)
tree77b82d9cb1ff4dbed8231b3bb77f39738ed90f99 /net
parentb0613a445faa6b8d3217e687bd7a02420496c2dc (diff)
downloadfreebsd-ports-gnome-0951359dd242517f3562ab31b20f0663f0f18f6c.tar.gz
freebsd-ports-gnome-0951359dd242517f3562ab31b20f0663f0f18f6c.tar.zst
freebsd-ports-gnome-0951359dd242517f3562ab31b20f0663f0f18f6c.zip
- emacs22 and later has stock tramp.info (but little older version) and
it conflicts with port-installed tramp.info. So install here as tramp21.info to unbreak packaging.
Diffstat (limited to 'net')
-rw-r--r--net/tramp/Makefile3
-rw-r--r--net/tramp/files/patch-texi-Makefile.in15
2 files changed, 11 insertions, 7 deletions
diff --git a/net/tramp/Makefile b/net/tramp/Makefile
index 06b212e720ef..1fbabd6695f4 100644
--- a/net/tramp/Makefile
+++ b/net/tramp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tramp
PORTVERSION= 2.1.12
+PORTREVISION= 1
CATEGORIES= net elisp
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,7 +28,7 @@ CONFIGURE_ARGS= --with-contrib --prefix=${PREFIX} \
--with-lispdir=${PREFIX}/${TRAMP_LISPDIR} \
--with-emacs=${EMACS_CMD}
-INFO= tramp
+INFO= tramp21
.if defined(JAPANESE_INFO)
CONFIGURE_ARGS+= --with-japanese-manual
diff --git a/net/tramp/files/patch-texi-Makefile.in b/net/tramp/files/patch-texi-Makefile.in
index 13b232a9235e..17e7ab191152 100644
--- a/net/tramp/files/patch-texi-Makefile.in
+++ b/net/tramp/files/patch-texi-Makefile.in
@@ -1,5 +1,5 @@
---- texi/Makefile.in.orig 2007-09-28 09:32:11.000000000 -0500
-+++ texi/Makefile.in 2008-03-11 10:11:25.000000000 -0500
+--- texi/Makefile.in.orig 2007-09-28 23:32:11.000000000 +0900
++++ texi/Makefile.in 2008-07-10 06:48:37.000000000 +0900
@@ -51,10 +51,10 @@
TEXI_FILES = tramp.texi trampver.texi doclicense.texi \
$(if $(findstring yes, @INSTALL_CHAPTER@), trampinst.texi)
@@ -8,14 +8,14 @@
- $(if $(JA_TEXI_FILES), $(localinfodir)/tramp_ja)
-INSTALL_FILES = $(DESTDIR)$(infodir)/tramp \
- $(if $(JA_TEXI_FILES), $(DESTDIR)$(infodir)/tramp_ja)
-+INFO_FILES = $(localinfodir)/tramp.info \
++INFO_FILES = $(localinfodir)/tramp21.info \
+ $(if $(JA_TEXI_FILES), $(localinfodir)/tramp_ja.info)
-+INSTALL_FILES = $(DESTDIR)$(infodir)/tramp.info \
++INSTALL_FILES = $(DESTDIR)$(infodir)/tramp21.info \
+ $(if $(JA_TEXI_FILES), $(DESTDIR)$(infodir)/tramp_ja.info)
CLEAN_FILES = @TRAMP_CLEAN_FILES@ $(wildcard $(localinfodir)/*)
# To be used by maintainer only
-@@ -67,19 +67,19 @@
+@@ -67,19 +67,22 @@
tramp: $(INFO_FILES) $(localinfodir)/dir
@@ -35,7 +35,10 @@
+ -D $(JA_MANUAL) -D $(INSTALL_CHAPTER) -o $@ $*.texi
-$(DESTDIR)$(infodir)/tramp $(DESTDIR)$(infodir)/tramp_ja:
-+$(DESTDIR)$(infodir)/tramp.info $(DESTDIR)$(infodir)/tramp_ja.info:
++$(localinfodir)/tramp21.info: $(localinfodir)/tramp.info
++ cp $(localinfodir)/tramp.info $@
++
++$(DESTDIR)$(infodir)/tramp21.info $(DESTDIR)$(infodir)/tramp_ja.info:
$(MKDIR) $(dir $@)
$(INSTALL) $(INFO_FILES) $(DESTDIR)$(infodir)