aboutsummaryrefslogtreecommitdiff
path: root/net/tramp
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-01-21 20:11:43 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-01-21 20:11:43 +0000
commit96bac6be62dec6cc17db26e1a578611b5bf2fd0a (patch)
tree88c866722ce835474417b70e4a490599345b9467 /net/tramp
parent0474c49222bee98896eaa1a2b0190804875d03b1 (diff)
downloadports-96bac6be62dec6cc17db26e1a578611b5bf2fd0a.tar.gz
ports-96bac6be62dec6cc17db26e1a578611b5bf2fd0a.zip
Notes
Diffstat (limited to 'net/tramp')
-rw-r--r--net/tramp/Makefile28
-rw-r--r--net/tramp/distinfo2
2 files changed, 13 insertions, 17 deletions
diff --git a/net/tramp/Makefile b/net/tramp/Makefile
index 36c5cb158b0a..090900c7fbb8 100644
--- a/net/tramp/Makefile
+++ b/net/tramp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tramp
-PORTVERSION= 0.0.20011228
+PORTVERSION= 0.0.20020121
CATEGORIES= net elisp
MASTER_SITES= http://tramp.sourceforge.net/download/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@@ -16,8 +16,7 @@ MAINTAINER= yoichi@FreeBSD.org
EMACS_PORT_NAME?= emacs21
-USE_GMAKE= yes
-MAKE_ARGS+= DIRS=lisp
+BUILD_WRKSRC= ${WRKSRC}/lisp
TRAMP_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
DIRSECTION= "The Emacs editor and associated tools"
@@ -40,25 +39,22 @@ PLIST_SUB+= EMACS20_ONLY=""
PLIST_SUB+= EMACS20_ONLY="@comment "
.endif
-post-patch:
- ${PERL} -pi -e "s@ format-spec.elc@@g;\
- s@ base64.elc@@g" ${WRKSRC}/lisp/Makefile
-
-post-build:
+pre-build:
.if ${EMACS_PORT_NAME} == emacs20
- (cd ${WRKSRC}/contrib; ${GMAKE} EMACS=${EMACS_CMD} format-spec.elc)
+ (cd ${WRKSRC}/contrib; ${MAKE} EMACS=${EMACS_CMD} format-spec.elc)
+ (${CP} ${WRKSRC}/contrib/format-spec.el ${WRKSRC}/contrib/format-spec.elc ${BUILD_WRKSRC})
+.endif
+post-build:
+.if !defined(NOPORTDOCS)
+ (cd ${WRKSRC}/texi; ${MAKE} EMACS=${EMACS_CMD} MAKEINFO=makeinfo tramp.info)
+.if defined(JAPANESE_INFO)
+ (cd ${WRKSRC}/texi; ${MAKE} EMACS=${EMACS_CMD} MAKEINFO=jmakeinfo tramp_ja.info)
.endif
-.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO)
- (cd ${WRKSRC}/texi; jmakeinfo --no-split tramp_ja.texi)
.endif
- ${RM} ${WRKSRC}/lisp/base64.el ${WRKSRC}/lisp/format-spec.el
do-install:
${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
-.if ${EMACS_PORT_NAME} == emacs20
- ${INSTALL_DATA} ${WRKSRC}/contrib/format-spec.el ${WRKSRC}/contrib/format-spec.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
-.endif
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/*.el ${BUILD_WRKSRC}/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/tramp2/*.el ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/texi/tramp.info ${PREFIX}/info
diff --git a/net/tramp/distinfo b/net/tramp/distinfo
index 31b53a7a86ee..895eb185c756 100644
--- a/net/tramp/distinfo
+++ b/net/tramp/distinfo
@@ -1 +1 @@
-MD5 (tramp.tar.gz) = 8c0a273ba006b13deb79633b4140e980
+MD5 (tramp.tar.gz) = e0c84d598e4e29dbfac4e693aba0cbbe