diff options
-rw-r--r-- | editors/bitmap-mule/Makefile | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/editors/bitmap-mule/Makefile b/editors/bitmap-mule/Makefile index 42994d1e33fc..2280907933d2 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> |