1999-08-18 10:04:59 -04:00
|
|
|
# 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$
|
1999-08-18 10:04:59 -04:00
|
|
|
#
|
|
|
|
|
2000-07-16 22:40:09 -04:00
|
|
|
PORTNAME= bitmap
|
2000-04-25 13:30:00 -04:00
|
|
|
PORTVERSION= ${BITMAP_VER}
|
1999-08-18 10:04:59 -04:00
|
|
|
CATEGORIES= editors elisp
|
1999-11-05 11:33:47 -05:00
|
|
|
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
|
2000-04-14 02:21:02 -04:00
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VER}
|
2000-07-16 22:40:09 -04:00
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
1999-08-18 10:04:59 -04:00
|
|
|
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
|
|
|
|
# distfile version
|
2000-04-25 13:30:00 -04:00
|
|
|
BITMAP_VER= 8.3
|
1999-08-18 10:04:59 -04:00
|
|
|
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
|
1999-08-18 10:04:59 -04:00
|
|
|
|
|
|
|
# target name for make build
|
|
|
|
ALL_TARGET= elc
|
|
|
|
|
2000-07-16 22:40:09 -04:00
|
|
|
BUILD_DEPENDS= uncompface:${PORTSDIR}/mail/faces
|
2000-07-19 04:34:23 -04:00
|
|
|
RUN_DEPENDS= ${BITMAP_FONT}:${PORTSDIR}/x11-fonts/bitmap-fonts
|
2000-07-16 22:40:09 -04:00
|
|
|
PLIST_SUB= BITMAPDOCDIR=${BITMAPDOCDIR}
|
1999-08-18 10:04:59 -04:00
|
|
|
|
2000-07-16 22:40:09 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(EMACS_PORT_NAME)
|
1999-10-11 02:19:16 -04:00
|
|
|
# depends on apel
|
2000-07-16 22:40:09 -04:00
|
|
|
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
|
|
|
|
1999-08-18 10:04:59 -04:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-07-16 22:40:09 -04:00
|
|
|
@${MKDIR} ${LOCALBASE}/${BITMAPDOCDIR}
|
2000-01-08 10:38:38 -05:00
|
|
|
@(cd ${WRKSRC} ; \
|
|
|
|
for i in ChangeLog NEWS README.* ; do \
|
2000-07-16 22:40:09 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${i} ${LOCALBASE}/${BITMAPDOCDIR}/ ; \
|
2000-01-08 10:38:38 -05:00
|
|
|
done)
|
1999-08-18 10:04:59 -04:00
|
|
|
.endif
|
|
|
|
|
2000-07-16 22:40:09 -04:00
|
|
|
.include <bsd.port.post.mk>
|