View | Details | Raw Unified | Return to bug 54438
Collapse All | Expand All

(-)tramp/Makefile (-41 / +14 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	tramp
8
PORTNAME=	tramp
9
PORTVERSION=	2.0.29
9
PORTVERSION=	2.0.35
10
CATEGORIES=	net elisp
10
CATEGORIES=	net elisp
11
MASTER_SITES=	http://savannah.nongnu.org/download/tramp/
11
MASTER_SITES=	http://savannah.nongnu.org/download/tramp/
12
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
12
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
Lines 18-71 Link Here
18
18
19
BUILD_WRKSRC=	${WRKSRC}/lisp
19
BUILD_WRKSRC=	${WRKSRC}/lisp
20
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
21
GNU_CONFIGURE=  yes
22
TRAMP_LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
22
TRAMP_LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
23
DIRSECTION=	"The Emacs editor and associated tools"
23
CONFIGURE_ARGS= --prefix=${PREFIX} \
24
INFOENTRY=	"* TRAMP: (tramp).                Transparent Remote Access, Multiple Protocol."
24
	--with-lispdir=${PREFIX}/${TRAMP_LISPDIR}
25
INFOENTRY_JA=	"* TRAMP-J: (tramp_ja).           Transparent Remote Access, Multiple Protocol."
25
PLIST_SUB+=	TRAMP_LISPDIR=${TRAMP_LISPDIR}
26
PLIST_SUB+=	TRAMP_LISPDIR=${TRAMP_LISPDIR} \
27
		DIRSECTION=${DIRSECTION} \
28
		INFOENTRY=${INFOENTRY} INFOENTRY_JA=${INFOENTRY_JA}
29
30
.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO)
31
BUILD_DEPENDS+=	jmakeinfo:${PORTSDIR}/japanese/texinfo
32
PLIST_SUB+=	JAPANESE_INFO=""
33
.else
34
PLIST_SUB+=	JAPANESE_INFO="@comment "
35
.endif
36
26
37
.if ${EMACS_PORT_NAME} == emacs20
27
.if ${EMACS_PORT_NAME} == emacs20
28
USE_CONTRIB=1
38
PLIST_SUB+=	EMACS20_ONLY=""
29
PLIST_SUB+=	EMACS20_ONLY=""
39
.else
30
.else
40
PLIST_SUB+=	EMACS20_ONLY="@comment "
31
PLIST_SUB+=	EMACS20_ONLY="@comment "
41
.endif
32
.endif
42
33
43
pre-build:
34
PKGMESSAGE=     ${WRKDIR}/pkg-message
44
.if ${EMACS_PORT_NAME} == emacs20
45
.for i in format-spec md5
46
	(cd ${WRKSRC}/contrib; ${EMACS_CMD} -batch -f batch-byte-compile ${i}.el)
47
	(${CP} -p ${WRKSRC}/contrib/${i}.el ${WRKSRC}/contrib/${i}.elc ${BUILD_WRKSRC})
48
.endfor
49
.endif
50
post-build:
51
.if !defined(NOPORTDOCS)
52
#	(cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=makeinfo tramp.info)
53
.if defined(JAPANESE_INFO)
54
	(cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=jmakeinfo tramp_ja.info)
55
.endif
56
.endif
57
35
58
do-install:
36
post-extract:
59
	${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
37
	@${SED} -e "s=%%PREFIX%%=${PREFIX}=g; s=%%TRAMP_LISPDIR%%=${TRAMP_LISPDIR}=g" ${FILESDIR}/pkg-message  > ${PKGMESSAGE}
60
	${INSTALL_DATA} ${BUILD_WRKSRC}/*.el ${BUILD_WRKSRC}/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
38
61
	${INSTALL_DATA} ${WRKSRC}/tramp2/*.el ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
39
post-install:
62
.if !defined(NOPORTDOCS)
40
	@${ECHO_MSG}
63
	${INSTALL_DATA} ${WRKSRC}/info/tramp ${PREFIX}/info
41
	@${CAT} ${PKGMESSAGE}
64
	install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${PREFIX}/info/tramp ${PREFIX}/info/dir
42
	@${ECHO_MSG}
65
.if defined(JAPANESE_INFO)
66
	${INSTALL_DATA} ${WRKSRC}/texi/tramp_ja.info ${PREFIX}/info
67
	install-info --section=${DIRSECTION} --entry=${INFOENTRY_JA} ${PREFIX}/info/tramp_ja.info ${PREFIX}/info/dir
68
.endif
69
.endif
70
43
71
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)tramp/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (tramp-2.0.29.tar.gz) = 043afe0f68799fb48b11c23a6d67ba4d
1
MD5 (tramp-2.0.35.tar.gz) = dec020f511ae0a59cf12e34a60b68d19
(-)tramp/files/patch-aa (+12 lines)
Line 0 Link Here
1
--- lisp/Makefile.in.orig	Mon May 26 15:01:46 2003
2
+++ lisp/Makefile.in	Sun Jul 13 21:41:09 2003
3
@@ -59,7 +59,8 @@
4
 	$(EM) $?
5
 
6
 install: $(wildcard *.el *.elc)
7
-	$(INSTALL) $? $(lispdir)
8
+	mkdir -p $(lispdir)
9
+	$(INSTALL) $? $(lispdir)
10
 
11
 clean:
12
 	$(RM) $(CLEAN_FILES)
(-)tramp/files/patch-ab (+18 lines)
Line 0 Link Here
1
-- texi/Makefile.in.orig	Wed Apr  9 03:28:52 2003
2
+++ texi/Makefile.in	Sun Jul 13 21:13:17 2003
3
@@ -33,6 +33,7 @@
4
 MAKEINFO	= @MAKEINFO@ --no-split
5
 TEXI2DVI	= @TEXI2DVI@
6
 INSTALL		= install -m644
7
+INSTALL_INFO	= install-info
8
 RM		= -rm -f
9
 
10
 prefix		= @prefix@
11
@@ -49,6 +50,7 @@
12
 
13
 install: $(localinfodir)/tramp
14
 	$(INSTALL) $< $(infodir)
15
+	$(INSTALL_INFO) $< $(infodir)/dir
16
 
17
 clean:
18
 	$(RM) $(CLEAN_FILES)
(-)tramp/files/pkg-message (+10 lines)
Line 0 Link Here
1
***********************************************************
2
3
Add these 2 lines to your .emacs:
4
5
    (add-to-list 'load-path "%%PREFIX%%/%%TRAMP_LISPDIR%%")
6
    (require 'tramp)
7
8
and enjoy the tramp.
9
10
***********************************************************
(-)tramp/pkg-plist (-13 / +8 lines)
Lines 15-31 Link Here
15
%%TRAMP_LISPDIR%%/tramp.el
15
%%TRAMP_LISPDIR%%/tramp.el
16
%%TRAMP_LISPDIR%%/tramp.elc
16
%%TRAMP_LISPDIR%%/tramp.elc
17
%%TRAMP_LISPDIR%%/trampcache.el
17
%%TRAMP_LISPDIR%%/trampcache.el
18
%%TRAMP_LISPDIR%%/tramp2-cache.el
18
%%TRAMP_LISPDIR%%/trampcache.elc
19
%%TRAMP_LISPDIR%%/tramp2-compat.el
19
%%TRAMP_LISPDIR%%/tramp-efs.el
20
%%TRAMP_LISPDIR%%/tramp2-enc.el
20
%%TRAMP_LISPDIR%%/tramp-efs.elc
21
%%TRAMP_LISPDIR%%/tramp2-hack.el
21
%%TRAMP_LISPDIR%%/trampver.el
22
%%TRAMP_LISPDIR%%/tramp2-ops.el
22
%%TRAMP_LISPDIR%%/trampver.elc
23
%%TRAMP_LISPDIR%%/tramp2-util.el
24
%%TRAMP_LISPDIR%%/tramp2.el
25
@dirrm %%TRAMP_LISPDIR%%
23
@dirrm %%TRAMP_LISPDIR%%
26
%%PORTDOCS%%@unexec install-info --delete --section="%%DIRSECTION%%" --entry="%%INFOENTRY%%" %D/info/tramp %D/info/dir
24
@unexec install-info --delete %D/info/tramp %D/info/dir
27
%%PORTDOCS%%%%JAPANESE_INFO%%@unexec install-info --delete --section="%%DIRSECTION%%" --entry="%%INFOENTRY_JA%%" %D/info/tramp_ja.info %D/info/dir
25
info/tramp
28
%%PORTDOCS%%info/tramp
26
@exec install-info %D/info/tramp %D/info/dir
29
%%PORTDOCS%%%%JAPANESE_INFO%%info/tramp_ja.info
30
%%PORTDOCS%%@exec install-info --section="%%DIRSECTION%%" --entry="%%INFOENTRY%%" %D/info/tramp %D/info/dir
31
%%PORTDOCS%%%%JAPANESE_INFO%%@exec install-info --section="%%DIRSECTION%%" --entry="%%INFOENTRY_JA%%" %D/info/tramp_ja.info %D/info/dir

Return to bug 54438