1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Update to new distfile (20020121).

This commit is contained in:
Yoichi NAKAYAMA 2002-01-21 20:11:43 +00:00
parent 0474c49222
commit 96bac6be62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53488
2 changed files with 13 additions and 17 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (tramp.tar.gz) = 8c0a273ba006b13deb79633b4140e980
MD5 (tramp.tar.gz) = e0c84d598e4e29dbfac4e693aba0cbbe