Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 21:27:22 +0900
From:      Shigeyuki Fukushima (=?iso-2022-jp?B?GyRCSiFFZ0xQRzcbKEI=?=) <shige@FreeBSD.ORG>
To:        asami@freebsd.org
Cc:        shige@FreeBSD.ORG
Subject:   Re: emacs-XX
Message-ID:  <19990822212722W.shige@shige.org>
In-Reply-To: <vqcaerkm9le.fsf@silvia.hip.berkeley.edu>
References:  <199908201212.FAA89304@silvia.hip.berkeley.edu> <19990820230932U.shige@shige.org> <vqcaerkm9le.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sun_Aug_22_21:24:50_1999_434)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

From: asami@freebsd.org (Satoshi - Ports Wraith - Asami)
Subject: Re: emacs-XX
Date: 22 Aug 1999 02:46:21 -0700

asami> We can add an include file in the ports tree (e.g.,
asami> ports/editors/emacs.inc).  It doesn't have to be a "port" for this to
asami> work, right?

Sorry, I forgot to write the following thing in the previous mail:


  If a port using this (eg.> emacs.inc), EMACS_PORT_NAME setting is
  included in this port.

  eg.) Makefile in editors/apel-emacs20 port


  EMACS_PORT_NAME= emacs20
  .include <${PORTSDIR}/editors/emacs.inc>
  BUILD_DEPENDS=  ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME}
  RUN_DEPENDS=    ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME}

  Above setting is s sample port for emacs20.


# emacs.inc I proposed is attached to this mail.

--- shige


----Next_Part(Sun_Aug_22_21:24:50_1999_434)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="emacs.inc"

#
# @(#)emacs.inc
#
# Date created:         22 August 1998
# Whom:                 shige
#
# $Id$
#

.if defined(EMACS_PORT_NAME)
.if (${EMACS_PORT_NAME} == "emacs")
EMACS_NAME=             emacs
EMACS_VER=              19.34
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          share/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= share/${EMACS_NAME}/${EMACS_VER}
.elif (${EMACS_PORT_NAME} == "emacs20")
EMACS_NAME=             emacs
EMACS_VER=              20.3
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          share/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= share/${EMACS_NAME}/${EMACS_VER}
.elif (${EMACS_PORT_NAME} == "mule")
EMACS_NAME=             mule
EMACS_VER=              19.34
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          share/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= share/${EMACS_NAME}/${EMACS_VER}
.elif (${EMACS_PORT_NAME} == "xemacs")
EMACS_NAME=             xemacs
EMACS_VER=              19.16
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          lib/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= lib/${EMACS_NAME}
.elif (${EMACS_PORT_NAME} == "xemacs20")
EMACS_NAME=             xemacs
EMACS_VER=              20.4
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          lib/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= lib/${EMACS_NAME}
.elif (${EMACS_PORT_NAME} == "xemacs-mule")
EMACS_NAME=             xemacs
EMACS_VER=              20.4
EMACS_CMD=              ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
# directory without ${PREFIX}
EMACS_LIBDOIR=          lib/${EMACS_NAME}
EMACS_LIBDOIR_WITH_VER= lib/${EMACS_NAME}-${EMACS_VER}
.endif
.else
	@${ECHO} "Error: Bad port."
	@${ECHO} "You must define EMACS_PORT_NAME with using emacs.inc."
	@${FALSE}
.endif
.endif

----Next_Part(Sun_Aug_22_21:24:50_1999_434)----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990822212722W.shige>