diff options
author | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2003-08-02 02:23:21 +0000 |
---|---|---|
committer | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2003-08-02 02:23:21 +0000 |
commit | 08ba0589fe0019be4deab6f1264975c0ceb2a81a (patch) | |
tree | 37f2a5929d08b0bf9d9c6acb50f0bb2190fdf394 /net/tramp/Makefile | |
parent | a) Fix build on gcc-3.3.x (diff) |
Update to 2.0.36.
Never to install japanese info (outdated, Now I'm working on it)
Don't install experimental files under tramp2/
PR: ports/54438
Submitted by: Kang-min Liu
Diffstat (limited to 'net/tramp/Makefile')
-rw-r--r-- | net/tramp/Makefile | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/net/tramp/Makefile b/net/tramp/Makefile index de4035c0a7c4..c9520473976d 100644 --- a/net/tramp/Makefile +++ b/net/tramp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= tramp -PORTVERSION= 2.0.29 +PORTVERSION= 2.0.36 CATEGORIES= net elisp MASTER_SITES= http://savannah.nongnu.org/download/tramp/ PKGNAMESUFFIX= -${EMACS_PORT_NAME} @@ -16,8 +16,8 @@ COMMENT= Transparent remote file access tool for emacsen EMACS_PORT_NAME?= emacs21 -BUILD_WRKSRC= ${WRKSRC}/lisp USE_GMAKE= yes +GNU_CONFIGURE= yes TRAMP_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} DIRSECTION= "The Emacs editor and associated tools" @@ -26,46 +26,47 @@ INFOENTRY_JA= "* TRAMP-J: (tramp_ja). Transparent Remote Access, Multi PLIST_SUB+= TRAMP_LISPDIR=${TRAMP_LISPDIR} \ DIRSECTION=${DIRSECTION} \ INFOENTRY=${INFOENTRY} INFOENTRY_JA=${INFOENTRY_JA} +CONFIGURE_ARGS= --prefix=${PREFIX} \ + --with-lispdir=${PREFIX}/${TRAMP_LISPDIR} -.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO) -BUILD_DEPENDS+= jmakeinfo:${PORTSDIR}/japanese/texinfo -PLIST_SUB+= JAPANESE_INFO="" -.else + +#.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO) +#BUILD_DEPENDS+= jmakeinfo:${PORTSDIR}/japanese/texinfo +#PLIST_SUB+= JAPANESE_INFO="" +#.else PLIST_SUB+= JAPANESE_INFO="@comment " -.endif +#.endif .if ${EMACS_PORT_NAME} == emacs20 +MAKE_ARGS+= USE_CONTRIB=yes PLIST_SUB+= EMACS20_ONLY="" .else PLIST_SUB+= EMACS20_ONLY="@comment " .endif -pre-build: -.if ${EMACS_PORT_NAME} == emacs20 -.for i in format-spec md5 - (cd ${WRKSRC}/contrib; ${EMACS_CMD} -batch -f batch-byte-compile ${i}.el) - (${CP} -p ${WRKSRC}/contrib/${i}.el ${WRKSRC}/contrib/${i}.elc ${BUILD_WRKSRC}) -.endfor -.endif -post-build: -.if !defined(NOPORTDOCS) -# (cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=makeinfo tramp.info) -.if defined(JAPANESE_INFO) - (cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=jmakeinfo tramp_ja.info) -.endif -.endif +#pre-build: +#.if ${EMACS_PORT_NAME} == emacs20 +#.for i in format-spec md5 +# (cd ${WRKSRC}/contrib; ${EMACS_CMD} -batch -f batch-byte-compile ${i}.el) +# (${CP} -p ${WRKSRC}/contrib/${i}.el ${WRKSRC}/contrib/${i}.elc ${BUILD_WRKSRC}) +#.endfor +#.endif +#post-build: +#.if !defined(NOPORTDOCS) +## (cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=makeinfo tramp.info) +#.if defined(JAPANESE_INFO) +# (cd ${WRKSRC}/texi; ${GMAKE} EMACS=${EMACS_CMD} MAKEINFO=jmakeinfo tramp_ja.info) +#.endif +#.endif -do-install: - ${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} - ${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} +post-install: .if !defined(NOPORTDOCS) - ${INSTALL_DATA} ${WRKSRC}/info/tramp ${PREFIX}/info +# ${INSTALL_DATA} ${WRKSRC}/info/tramp ${PREFIX}/info install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${PREFIX}/info/tramp ${PREFIX}/info/dir -.if defined(JAPANESE_INFO) - ${INSTALL_DATA} ${WRKSRC}/texi/tramp_ja.info ${PREFIX}/info - install-info --section=${DIRSECTION} --entry=${INFOENTRY_JA} ${PREFIX}/info/tramp_ja.info ${PREFIX}/info/dir -.endif +#.if defined(JAPANESE_INFO) +# ${INSTALL_DATA} ${WRKSRC}/texi/tramp_ja.info ${PREFIX}/info +# install-info --section=${DIRSECTION} --entry=${INFOENTRY_JA} ${PREFIX}/info/tramp_ja.info ${PREFIX}/info/dir +#.endif .endif .include <bsd.port.mk> |