diff options
author | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2001-12-16 11:25:05 +0000 |
---|---|---|
committer | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2001-12-16 11:25:05 +0000 |
commit | 0ed5ff090d657eca116f8a6ff5526088f2462ea0 (patch) | |
tree | 6b2fcd767fce3035280adcd57ae4e7f2c8749ad7 /net/tramp | |
parent | Respect CFLAGS in Makefile. Previous patch-aa file contains the (diff) |
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)
Notes
Notes:
svn path=/head/; revision=51617
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> |