1999-08-18 14:03:09 +00:00
|
|
|
# New ports collection makefile for: bitmap for mule
|
1999-10-11 06:19:16 +00:00
|
|
|
# Version required: 7.19.05
|
1999-08-18 14:03:09 +00:00
|
|
|
# Date created: 23 September 1998
|
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-08-18 14:03:09 +00:00
|
|
|
#
|
|
|
|
|
1999-10-11 06:19:16 +00:00
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VENDOR}-${BITMAP_SNAPSHOT_VER}
|
1999-08-18 14:03:09 +00:00
|
|
|
CATEGORIES= editors elisp
|
1999-10-11 06:19:16 +00:00
|
|
|
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/yamaoka/bitmap/snapshots/
|
1999-08-18 14:03:09 +00:00
|
|
|
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
|
|
|
|
# distfile version
|
1999-10-11 06:19:16 +00:00
|
|
|
BITMAP_VER= 7.19
|
1999-10-22 15:24:40 +00:00
|
|
|
BITMAP_SNAPSHOT_VER= 07
|
1999-10-11 06:19:16 +00:00
|
|
|
BITMAP_VENDOR= kory
|
|
|
|
BITMAP_PKG_VER= ${BITMAP_VER}.${BITMAP_SNAPSHOT_VER}
|
1999-08-18 14:03:09 +00:00
|
|
|
BITMAPDOCDIR= share/doc/bitmap
|
|
|
|
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}
|
|
|
|
|
|
|
|
# target name for make build
|
|
|
|
ALL_TARGET?= elc
|
|
|
|
|
1999-10-11 06:19:16 +00:00
|
|
|
PKGNAME= bitmap-${EMACS_PORT}-${BITMAP_PKG_VER}
|
1999-08-18 14:03:09 +00:00
|
|
|
EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
|
1999-10-11 06:19:16 +00:00
|
|
|
BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
|
1999-08-18 14:03:09 +00:00
|
|
|
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} \
|
|
|
|
BITMAPDOCDIR=${BITMAPDOCDIR}
|
|
|
|
MAKE_FLAGS= EMACS=${EMACS_CMD}
|
|
|
|
|
1999-10-11 06:19:16 +00:00
|
|
|
# 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}
|
|
|
|
|
|
|
|
# depends on flim
|
|
|
|
BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/site-lisp/flim/std11.el:${PORTSDIR}/editors/flim-${EMACS_PORT}
|
|
|
|
RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/site-lisp/flim/std11.el:${PORTSDIR}/editors/flim-${EMACS_PORT}
|
|
|
|
|
1999-08-18 14:03:09 +00:00
|
|
|
pre-configure:
|
|
|
|
@${CP} ${FILESDIR}/${BITMAP_SETUPEL}.in ${WRKDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/${BITMAP_SETUPEL} \
|
|
|
|
${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/${BITMAPDOCDIR}
|
|
|
|
@for i in ChangeLog README.* ; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${BITMAPDOCDIR}/ ; \
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|