aboutsummaryrefslogtreecommitdiffstats
path: root/net/tramp
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-01-22 04:11:43 +0800
committeryoichi <yoichi@FreeBSD.org>2002-01-22 04:11:43 +0800
commit7b9a8f08bb790e3eb2586ee649408605eb96678b (patch)
tree5c4dce25cf48057fcf94b50cd92915bf00a1c405 /net/tramp
parent941ff5ec3992ebd9b5abdf0cc0cbef8304254fa2 (diff)
downloadfreebsd-ports-gnome-7b9a8f08bb790e3eb2586ee649408605eb96678b.tar.gz
freebsd-ports-gnome-7b9a8f08bb790e3eb2586ee649408605eb96678b.tar.zst
freebsd-ports-gnome-7b9a8f08bb790e3eb2586ee649408605eb96678b.zip
Update to new distfile (20020121).
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