1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/editors/bitmap-emacs20/Makefile
2000-06-27 01:00:47 +00:00

53 lines
1.6 KiB
Makefile

# New ports collection makefile for: bitmap for emacs20
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bitmap-${EMACS_PORT_NAME}
PORTVERSION= ${BITMAP_VER}
CATEGORIES= editors elisp
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
DISTNAME= bitmap-mule-${BITMAP_VER}
MAINTAINER= shige@FreeBSD.org
# distfile version
BITMAP_VER= 8.3
BITMAPDOCDIR= share/doc/bitmap
BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/etl8x16-bitmap.pcf.gz
# emacs20
EMACS_PORT_NAME= emacs20
# target name for make build
ALL_TARGET= elc
EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME} \
uncompface:${PORTSDIR}/mail/faces
RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME} \
${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}
# depends on apel
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}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${BITMAPDOCDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog NEWS README.* ; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${BITMAPDOCDIR}/ ; \
done)
.endif
.include <bsd.port.mk>