1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/bitmap/Makefile
1999-08-25 05:57:29 +00:00

55 lines
1.7 KiB
Makefile

# New ports collection makefile for: bitmap for emacs20
# Version required: 7.18.19980702
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= bitmap-mule-${BITMAP_ORIG_VER}
CATEGORIES= editors elisp
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/bitmap-mule/snapshots/
MAINTAINER= shige@FreeBSD.org
# distfile version
BITMAP_ORIG_VER=19980702
BITMAP_VER= 7.18.19980702
BITMAPDOCDIR= share/doc/bitmap
BITMAP_FONT= ${X11BASE}/lib/X11/fonts/local/etl8x16-bitmap.pcf.gz
WRKSRC= ${WRKDIR}/bitmap-mule
# emacs20
EMACS_NAME= emacs
EMACS_PORT= emacs20
EMACS_VER= 20.4
EMACS_LIBDIR= share/${EMACS_NAME}
EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
# target name for make build
ALL_TARGET= elc
PKGNAME= bitmap-${EMACS_PORT}-${BITMAP_VER}
EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT}
RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} \
${PREFIX}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${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}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${BITMAPDOCDIR}
@for i in ChangeLog README.* ; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${BITMAPDOCDIR}/ ; \
done
.endif
.include <bsd.port.mk>