1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/emacs20-dl-canna/Makefile

55 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: emacs20-dl-canna
# Date created: 10 October 1998
# Whom: shige
#
1999-08-25 05:28:01 +00:00
# $FreeBSD$
#
PORTNAME= emacs20-dl-canna
PORTVERSION= 1.4
CATEGORIES= japanese editors
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/dynamic-loading/emacs-canna/ \
${MASTER_SITE_PORTS_JP}
DISTNAME= emacs-canna-${PORTVERSION}
MAINTAINER= shige@FreeBSD.org
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
# Building this port requires emacs-dl source tree: ${EMACSDL_DIR}:configure
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
RUN_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
1999-03-17 21:48:02 +00:00
${APEL_DEPENDS}:${PORTSDIR}/editors/apel-emacs20
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-03-17 21:48:02 +00:00
# ports variables
2000-03-10 21:31:15 +00:00
EMACS_VER= 20.6
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
LISPDIR= share/emacs/site-lisp
DOCDIR= share/doc/emacs20-dl-canna
DLCANNA_VER= 1.4
# hack to allow parallel build to work
.if defined(PARALLEL_PACKAGE_BUILD)
BUILD_DEPENDS+= ${GMAKE}:${PORTSDIR}/devel/gmake \
${AUTOCONF}:${PORTSDIR}/devel/autoconf
.endif
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>