From owner-freebsd-ports Sun Aug 22 5:29:42 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mta1.odn.ne.jp (mta1.odn.ne.jp [143.90.131.68]) by hub.freebsd.org (Postfix) with ESMTP id 722AF14C87; Sun, 22 Aug 1999 05:29:38 -0700 (PDT) (envelope-from shigeisp@pop02.odn.ne.jp) Received: from athena.shige.org (KUNcc-02p25.ppp.odn.ad.jp [143.90.235.94]) by mta1.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9808281356) with ESMTP id VAA09860; Sun, 22 Aug 1999 21:27:35 +0900 (JST) To: asami@freebsd.org Cc: jseger@freebsd.org, ports@freebsd.org Cc: shige@FreeBSD.ORG Subject: Re: emacs-XX From: Shigeyuki Fukushima (=?iso-2022-jp?B?GyRCSiFFZ0xQRzcbKEI=?=) In-Reply-To: References: <199908201212.FAA89304@silvia.hip.berkeley.edu> <19990820230932U.shige@shige.org> X-Mailer: Mew version 1.94b47 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-URL: http://www.freebsd.org/~shige/ Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Aug_22_21:24:50_1999_434)--" Content-Transfer-Encoding: 7bit Message-Id: <19990822212722W.shige@shige.org> Date: Sun, 22 Aug 1999 21:27:22 +0900 X-Dispatcher: imput version 990816(IM120) Lines: 100 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----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