mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# New ports collection makefile for: tramp (for emacs21)
|
|
# Date Created: 12 Dec 2001
|
|
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tramp
|
|
PORTVERSION= 2.1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= net elisp
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Transparent remote file access tool for emacsen
|
|
|
|
USE_EMACS= yes
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf:259
|
|
|
|
TRAMP_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
PLIST_SUB+= TRAMP_LISPDIR=${TRAMP_LISPDIR}
|
|
CONFIGURE_ENV= TEXI2DVI=no
|
|
CONFIGURE_ARGS= --with-contrib --prefix=${PREFIX} \
|
|
--with-lispdir=${PREFIX}/${TRAMP_LISPDIR} \
|
|
--with-emacs=${EMACS_CMD}
|
|
|
|
INFO= tramp
|
|
|
|
.if defined(JAPANESE_INFO)
|
|
CONFIGURE_ARGS+= --with-japanese-manual
|
|
INFO+= tramp
|
|
.endif
|
|
|
|
.if ${EMACS_PORT_NAME} == emacs20
|
|
PLIST_SUB+= EMACS20_ONLY=""
|
|
.else
|
|
PLIST_SUB+= EMACS20_ONLY="@comment "
|
|
.endif
|
|
|
|
pre-build:
|
|
.if ${EMACS_PORT_NAME} == emacs20
|
|
(cd ${WRKSRC}/contrib; ${GMAKE})
|
|
.endif
|
|
${LN} -sf ../contrib/password.el ${WRKSRC}/lisp
|
|
|
|
post-install:
|
|
.if ${EMACS_PORT_NAME} == emacs20
|
|
(cd ${WRKSRC}/contrib; ${GMAKE} install)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|