1999-01-11 14:19:17 +00:00
|
|
|
# New ports collection makefile for: emacs20-dl-canna
|
|
|
|
# Date created: 10 October 1998
|
|
|
|
# Whom: shige
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-01-11 14:19:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= emacs20-dl-canna
|
|
|
|
PORTVERSION= 1.4
|
1999-01-11 14:19:17 +00:00
|
|
|
CATEGORIES= japanese editors
|
2000-02-25 16:01:40 +00:00
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/dynamic-loading/emacs-canna/ \
|
1999-11-10 15:35:05 +00:00
|
|
|
${MASTER_SITE_PORTS_JP}
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= emacs-canna-${PORTVERSION}
|
1999-01-11 14:19:17 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= shige@FreeBSD.org
|
1999-01-11 14:19:17 +00:00
|
|
|
|
1999-01-15 10:57:06 +00:00
|
|
|
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
|
1999-11-10 15:35:05 +00:00
|
|
|
# Building this port requires emacs-dl source tree: ${EMACSDL_DIR}:configure
|
1999-01-11 14:19:17 +00:00
|
|
|
BUILD_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
|
1999-03-17 21:48:02 +00:00
|
|
|
/nonexistent:${EMACSDL_DIR}:configure \
|
|
|
|
${APEL_DEPENDS}:${PORTSDIR}/editors/apel-emacs20
|
1999-01-11 14:19:17 +00:00
|
|
|
RUN_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
|
1999-03-17 21:48:02 +00:00
|
|
|
${APEL_DEPENDS}:${PORTSDIR}/editors/apel-emacs20
|
1999-01-11 14:19:17 +00:00
|
|
|
|
1999-03-17 21:48:02 +00:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS= --with-canna-includes=${PREFIX}/include \
|
|
|
|
--with-canna-libraries=${PREFIX}/lib \
|
|
|
|
--with-emacs-srcdir=${EMACSDL_SRCDIR}
|
|
|
|
CONFIGURE_ENV= EMACS="emacs-dl-${EMACS_VER}"
|
1999-06-15 00:30:05 +00:00
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
|
|
|
|
DLCANNA_VER=${DLCANNA_VER} LISPDIR=${LISPDIR} DOCDIR=${DOCDIR}
|
1999-01-11 14:19:17 +00:00
|
|
|
|
1999-03-17 21:48:02 +00:00
|
|
|
# ports variables
|
2000-07-05 14:49:03 +00:00
|
|
|
EMACS_VER= 20.7
|
2000-01-19 15:38:34 +00:00
|
|
|
EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
|
1999-03-17 21:48:02 +00:00
|
|
|
EMACSDL_SRCDIR= ${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}/src
|
|
|
|
APEL_DEPENDS= ${PREFIX}/share/emacs/${EMACS_VER}/site-lisp/emu/emu.el
|
1999-01-11 14:19:17 +00:00
|
|
|
LISPDIR= share/emacs/site-lisp
|
|
|
|
DOCDIR= share/doc/emacs20-dl-canna
|
2000-02-25 16:01:40 +00:00
|
|
|
DLCANNA_VER= 1.4
|
1999-09-08 06:05:53 +00:00
|
|
|
# hack to allow parallel build to work
|
2000-08-26 20:22:46 +00:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
2000-05-29 03:49:04 +00:00
|
|
|
BUILD_DEPENDS+= ${GMAKE}:${PORTSDIR}/devel/gmake \
|
|
|
|
${AUTOCONF}:${PORTSDIR}/devel/autoconf
|
1999-09-08 06:05:53 +00:00
|
|
|
.endif
|
1999-01-11 14:19:17 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@[ -d ${PREFIX}/${DOCDIR} ] || ${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/${DOCDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/${DOCDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|