freebsd-ports/editors/bitmap/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: bitmap for emacs20
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
1999-08-25 01:57:29 -04:00
# $FreeBSD$
#
PORTNAME= bitmap
PORTVERSION= ${BITMAP_VER}
CATEGORIES= editors elisp
1999-11-05 11:33:47 -05:00
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
DISTNAME= bitmap-mule-${BITMAP_VER}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
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
2000-06-26 21:00:47 -04:00
EMACS_PORT_NAME= emacs20
# target name for make build
ALL_TARGET= elc
BUILD_DEPENDS= uncompface:${PORTSDIR}/mail/faces
RUN_DEPENDS= ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-fonts
PLIST_SUB= BITMAPDOCDIR=${BITMAPDOCDIR}
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
1999-10-11 02:19:16 -04:00
# depends on apel
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/${EMACS_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
.else
.BEGIN:
@${ECHO} "Error: Bad port."
@${ECHO} "You must define EMACS_PORT_NAME."
@${FALSE}
.endif
1999-10-11 02:19:16 -04:00
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${LOCALBASE}/${BITMAPDOCDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog NEWS README.* ; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${LOCALBASE}/${BITMAPDOCDIR}/ ; \
done)
.endif
.include <bsd.port.post.mk>