freebsd-ports/net/tramp/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

54 lines
1.1 KiB
Makefile

# Created by: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
# $FreeBSD$
PORTNAME= tramp
PORTVERSION= 2.2.7
PORTREVISION= 2
CATEGORIES= net elisp
MASTER_SITES= GNU
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Transparent remote file access tool for emacsen
USE_EMACS= yes
USES= cpe gmake makeinfo
USE_AUTOTOOLS= autoconf
CPE_VENDOR= gnu
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= tramp21
.if defined(JAPANESE_INFO)
CONFIGURE_ARGS+= --with-japanese-manual
INFO+= tramp
.endif
.include <bsd.port.pre.mk>
.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; ${MAKE_CMD})
.endif
${LN} -sf ../contrib/password.el ${WRKSRC}/lisp
post-install:
.if ${EMACS_PORT_NAME} == emacs20
(cd ${WRKSRC}/contrib; ${MAKE_CMD} install)
.endif
.include <bsd.port.post.mk>