diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1999-01-24 11:46:05 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1999-01-24 11:46:05 +0800 |
commit | 62eab90822adeb866344e1348c45477441cb8a7e (patch) | |
tree | 8619d41f283f818e189d25a762a34f256fc16987 /editors/apel-emacs | |
parent | 8daff7b4befb58f7891f52496c3475fd0e609bf8 (diff) | |
download | freebsd-ports-gnome-62eab90822adeb866344e1348c45477441cb8a7e.tar.gz freebsd-ports-gnome-62eab90822adeb866344e1348c45477441cb8a7e.tar.zst freebsd-ports-gnome-62eab90822adeb866344e1348c45477441cb8a7e.zip |
o Fix for undesired error message in apel-emacs20.
o Make more simple in Makefile by moving declaration of variables.
Submitted by: maintainer
Diffstat (limited to 'editors/apel-emacs')
-rw-r--r-- | editors/apel-emacs/Makefile | 11 | ||||
-rw-r--r-- | editors/apel-emacs/scripts/configure | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/editors/apel-emacs/Makefile b/editors/apel-emacs/Makefile index 14a151bf97a2..67dfb20d4798 100644 --- a/editors/apel-emacs/Makefile +++ b/editors/apel-emacs/Makefile @@ -3,7 +3,7 @@ # Date created: 23 September 1998 # Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> # -# $Id: Makefile,v 1.1.1.1 1999/01/02 13:26:51 kuriyama Exp $ +# $Id: Makefile,v 1.2 1999/01/11 10:27:46 asami Exp $ # DISTNAME= apel-${APEL_VER} @@ -30,15 +30,18 @@ REQUIRE_SETUPEL= YES # target name for make build ALL_TARGET?= elc -.if defined(EMACS_PORT) -PKGNAME= apel-${EMACS_PORT}-${APEL_VER} -EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER} +# if RUN_DEPENDS emacs port name has the suffix `-common' .if !defined(HAVE_COMMON_PORT) HAVE_COMMON_PORT= NO .endif +# if RUN_DEPENDS emacs needs setup elisp .if !defined(REQUIRE_SETUPEL) REQUIRE_SETUPEL= NO .endif + +.if defined(EMACS_PORT) +PKGNAME= apel-${EMACS_PORT}-${APEL_VER} +EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER} BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES") RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common diff --git a/editors/apel-emacs/scripts/configure b/editors/apel-emacs/scripts/configure index 8c2d04dc6aa9..0abb914d60d4 100644 --- a/editors/apel-emacs/scripts/configure +++ b/editors/apel-emacs/scripts/configure @@ -4,9 +4,11 @@ TARGETS='apel-setup.el' for i in ${TARGETS} do + if [ -f ${WRKDIR}/${i}.in ]; then cat ${WRKDIR}/${i}.in | /usr/bin/sed \ -e "s;@@PREFIX@@;${PREFIX};g" \ -e "s;@@EMACS_LIBDIR@@;${EMACS_LIBDIR};g" \ -e "s;@@EMACS_VER@@;${EMACS_VER};g" \ > ${WRKDIR}/${i} + fi done |