1999-01-11 14:21:25 +00:00
|
|
|
# New ports collection makefile for: emacs20-dl-wnn6
|
|
|
|
# Date created: 10 October 1998
|
|
|
|
# Whom: shige
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-01-11 14:21:25 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= emacs20-dl-wnn6
|
|
|
|
PORTVERSION= 0.3.6
|
1999-01-11 14:21:25 +00:00
|
|
|
CATEGORIES= japanese editors
|
2000-02-25 16:16:07 +00:00
|
|
|
MASTER_SITES= http://tokuda-www.cs.titech.ac.jp/~katsuya/emacs/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= dl-wnn-${PORTVERSION}
|
1999-01-11 14:21:25 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= shige@FreeBSD.org
|
1999-01-11 14:21:25 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= wnn6.1:${.CURDIR}/../../japanese/Wnn6-lib
|
|
|
|
BUILD_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
|
2000-08-21 00:56:58 +00:00
|
|
|
autoconf:${PORTSDIR}/devel/autoconf \
|
1999-01-11 14:21:25 +00:00
|
|
|
/nonexistent:${EMACSDL_DIR}:configure
|
|
|
|
RUN_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR}
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-08-09 13:05:46 +00:00
|
|
|
CONFIGURE_ARGS= --with-wnn6 \
|
|
|
|
--with-wnn-includes=${PREFIX}/include/wnn \
|
|
|
|
--with-wnn-libraries=${PREFIX}/lib \
|
2000-01-14 14:59:42 +00:00
|
|
|
--with-emacs-src=${EMACSDL_SRCDIR}
|
1999-08-09 13:05:46 +00:00
|
|
|
CONFIGURE_ENV= EMACS=${PREFIX}/bin/emacs-dl-${EMACS_VER}
|
1999-06-15 00:31:27 +00:00
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
|
|
|
|
DOCDIR=${DOCDIR}
|
1999-01-11 14:21:25 +00:00
|
|
|
|
|
|
|
DOCDIR= share/doc/emacs20-dl-wnn6
|
2000-07-05 14:50:25 +00:00
|
|
|
EMACS_VER= 20.7
|
2000-01-19 15:38:34 +00:00
|
|
|
EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
|
2000-01-14 14:59:42 +00:00
|
|
|
EMACSDL_SRCDIR= ${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
|
1999-09-08 06:05:53 +00:00
|
|
|
# hack to allow parallel build to work
|
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD)
|
|
|
|
BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake \
|
|
|
|
autoconf:${PORTSDIR}/devel/autoconf
|
|
|
|
.endif
|
1999-01-11 14:21:25 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-07-25 12:17:51 +00:00
|
|
|
@${LN} -sf ${PREFIX}/share/emacs/site-lisp/egg/eggrc-wnn \
|
1999-01-11 14:21:25 +00:00
|
|
|
${PREFIX}/share/emacs/site-lisp/egg/.eggrc
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/${DOCDIR}
|
1999-08-09 13:05:46 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/${DOCDIR}
|
1999-01-11 14:21:25 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/${DOCDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|