diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1999-01-24 03:46:05 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1999-01-24 03:46:05 +0000 |
commit | 62eab90822adeb866344e1348c45477441cb8a7e (patch) | |
tree | 8619d41f283f818e189d25a762a34f256fc16987 /editors/apel-emacs/Makefile | |
parent | 8daff7b4befb58f7891f52496c3475fd0e609bf8 (diff) | |
download | FreeBSD-ports-62eab90822adeb866344e1348c45477441cb8a7e.zip FreeBSD-ports-62eab90822adeb866344e1348c45477441cb8a7e.tar.gz |
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/Makefile')
-rw-r--r-- | editors/apel-emacs/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/editors/apel-emacs/Makefile b/editors/apel-emacs/Makefile index 14a151b..67dfb20 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 |