1999-08-18 14:04:59 +00:00
|
|
|
# New ports collection makefile for: bitmap for emacs20
|
|
|
|
# Date created: 23 September 1998
|
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-08-18 14:04:59 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 06:21:02 +00:00
|
|
|
PORTNAME= bitmap-${EMACS_PORT}
|
2000-04-25 17:30:00 +00:00
|
|
|
PORTVERSION= ${BITMAP_VER}
|
1999-08-18 14:04:59 +00:00
|
|
|
CATEGORIES= editors elisp
|
1999-11-05 16:33:47 +00:00
|
|
|
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
|
2000-04-14 06:21:02 +00:00
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VER}
|
1999-08-18 14:04:59 +00:00
|
|
|
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
|
|
|
|
# distfile version
|
2000-04-25 17:30:00 +00:00
|
|
|
BITMAP_VER= 8.3
|
1999-08-18 14:04:59 +00:00
|
|
|
BITMAPDOCDIR= share/doc/bitmap
|
|
|
|
BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/etl8x16-bitmap.pcf.gz
|
|
|
|
|
|
|
|
# emacs20
|
|
|
|
EMACS_NAME= emacs
|
|
|
|
EMACS_PORT= emacs20
|
2000-03-10 21:31:15 +00:00
|
|
|
EMACS_VER= 20.6
|
1999-08-18 14:04:59 +00:00
|
|
|
EMACS_LIBDIR= share/${EMACS_NAME}
|
|
|
|
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
|
|
|
|
|
|
|
|
# target name for make build
|
|
|
|
ALL_TARGET= elc
|
|
|
|
|
|
|
|
EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
|
2000-02-08 04:33:50 +00:00
|
|
|
BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
|
|
|
|
uncompface:${PORTSDIR}/mail/faces
|
1999-08-18 14:04:59 +00:00
|
|
|
RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
|
|
|
|
${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}
|
|
|
|
PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
|
|
|
|
EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
|
|
|
|
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}
|
|
|
|
|
1999-08-18 14:04:59 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/${BITMAPDOCDIR}
|
2000-01-08 15:38:38 +00:00
|
|
|
@(cd ${WRKSRC} ; \
|
|
|
|
for i in ChangeLog NEWS README.* ; do \
|
1999-08-18 14:04:59 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${BITMAPDOCDIR}/ ; \
|
2000-01-08 15:38:38 +00:00
|
|
|
done)
|
1999-08-18 14:04:59 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|