diff options
author | yoichi <yoichi@FreeBSD.org> | 2001-12-16 19:25:05 +0800 |
---|---|---|
committer | yoichi <yoichi@FreeBSD.org> | 2001-12-16 19:25:05 +0800 |
commit | c5a7e4e9916bda502de9817e437bb790d1e260a6 (patch) | |
tree | 541103781605c76a80230f3d9dc70a09669175fd /net/tramp | |
parent | 12c3a6e38f36d9d4effdaa42aafcf1e7d3412753 (diff) | |
download | freebsd-ports-gnome-c5a7e4e9916bda502de9817e437bb790d1e260a6.tar.gz freebsd-ports-gnome-c5a7e4e9916bda502de9817e437bb790d1e260a6.tar.zst freebsd-ports-gnome-c5a7e4e9916bda502de9817e437bb790d1e260a6.zip |
Add tramp, Transparent remote file access tool for emacsen.
(PORTVERSION == 0.0.[time stamp of DISTFILE] to avoid setting
PORTEPOCH in future)
Reviewed by: knu(mentor)
Diffstat (limited to 'net/tramp')
-rw-r--r-- | net/tramp/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net/tramp/Makefile b/net/tramp/Makefile new file mode 100644 index 000000000000..8d0d1d767966 --- /dev/null +++ b/net/tramp/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: tramp (for emacs21) +# Date Created: 12 Dec 2001 +# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= tramp +PORTVERSION= 0.0.20011123 +CATEGORIES= net elisp +MASTER_SITES= http://tramp.sourceforge.net/download/ +PKGNAMESUFFIX= -${EMACS_PORT_NAME} +DISTNAME= ${PORTNAME} + +MAINTAINER= yoichi@FreeBSD.org + +EMACS_PORT_NAME?= emacs21 + +BUILD_WRKSRC= ${WRKSRC}/lisp +TRAMP_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} +DIRSECTION= "The Emacs editor and associated tools" +INFOENTRY= "* TRAMP: (tramp). Transparent Remote Access, Multiple Protocol." +INFOENTRY_JA= "* TRAMP-J: (tramp_ja). Transparent Remote Access, Multiple Protocol." +PLIST_SUB+= TRAMP_LISPDIR=${TRAMP_LISPDIR} \ + DIRSECTION=${DIRSECTION} \ + INFOENTRY=${INFOENTRY} INFOENTRY_JA=${INFOENTRY_JA} + +.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO) +BUILD_DEPENDS+= jmakeinfo:${PORTSDIR}/japanese/texinfo +PLIST_SUB+= JAPANESE_INFO="" +.else +PLIST_SUB+= JAPANESE_INFO="@comment " +.endif + +post-build: +.if !defined(NOPORTDOCS) && defined(JAPANESE_INFO) + (cd ${WRKSRC}/texi; jmakeinfo --no-split tramp_ja.texi) +.endif +do-install: + ${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} + ${INSTALL_DATA} ${BUILD_WRKSRC}/*.el ${BUILD_WRKSRC}/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} +.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/texi/tramp.info ${PREFIX}/info + install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${PREFIX}/info/tramp.info ${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 +.endif + +.include <bsd.port.mk> |