aboutsummaryrefslogtreecommitdiffstats
path: root/editors/bitmap-mule
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-05-13 03:35:18 +0800
committershige <shige@FreeBSD.org>2000-05-13 03:35:18 +0800
commitd0740af44725df4549fba15228c26a52031ba98a (patch)
treef52fe47ac3cbc5d1d80ca1858461bb4207b5c63e /editors/bitmap-mule
parentd30f648225cc4e0f0e074cd0da7636e699d498e0 (diff)
downloadfreebsd-ports-graphics-d0740af44725df4549fba15228c26a52031ba98a.tar.gz
freebsd-ports-graphics-d0740af44725df4549fba15228c26a52031ba98a.tar.zst
freebsd-ports-graphics-d0740af44725df4549fba15228c26a52031ba98a.zip
Use EMACS_PORT_NAME variables defined in Mk/bsd.emacs.mk
instead of EMACS_PORT.
Diffstat (limited to 'editors/bitmap-mule')
-rw-r--r--editors/bitmap-mule/Makefile32
1 files changed, 11 insertions, 21 deletions
diff --git a/editors/bitmap-mule/Makefile b/editors/bitmap-mule/Makefile
index 42994d1e33f..2280907933d 100644
--- a/editors/bitmap-mule/Makefile
+++ b/editors/bitmap-mule/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= bitmap-${EMACS_PORT}
+PORTNAME= bitmap-${EMACS_PORT_NAME}
PORTVERSION= ${BITMAP_VER}
CATEGORIES= editors elisp
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
@@ -20,32 +20,22 @@ BITMAP_SETUPEL= bitmap-setupel.el
BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/etl8x16-bitmap.pcf.gz
# mule-19.34
-EMACS_NAME= mule
-EMACS_PORT= mule
-EMACS_VER= 19.34
-EMACS_LIBDIR= share/${EMACS_NAME}
-EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+EMACS_PORT_NAME= mule
+
+.include <bsd.port.pre.mk>
# target name for make build
ALL_TARGET?= elc
-EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
-BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
- uncompface:${PORTSDIR}/mail/faces
-RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common \
- ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-font
-SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
- EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
- TARGETS=${BITMAP_SETUPEL}
-PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
- EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
- BITMAP_SETUPEL=${BITMAP_SETUPEL} \
+BUILD_DEPENDS+= uncompface:${PORTSDIR}/mail/faces
+RUN_DEPENDS+= ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-font
+SCRIPTS_ENV+= TARGETS=${BITMAP_SETUPEL}
+PLIST_SUB+= BITMAP_SETUPEL=${BITMAP_SETUPEL} \
BITMAPDOCDIR=${BITMAPDOCDIR}
-MAKE_FLAGS= EMACS=${EMACS_CMD}
# depends on apel
-BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
-RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
+BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
pre-configure:
@${CP} ${FILESDIR}/${BITMAP_SETUPEL}.in ${WRKDIR}
@@ -61,4 +51,4 @@ post-install:
done)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>