blob: b012b6f13bd9fa21e452d9da974817bf452863e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: emacs20-dl-canna
# Version required: 1.0
# Date created: 10 October 1998
# Whom: shige
#
# $Id$
#
DISTNAME= emacs-canna-1.0
PKGNAME= ja-emacs20-dl-canna-1.0
CATEGORIES= japanese editors
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/emacs-20-dl/
MAINTAINER= shige@kuis.kyoto-u.ac.jp
LIB_DEPENDS= canna.1:${.CURDIR}/../../japanese/Canna
BUILD_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
/nonexistent:${EMACSDL_DIR}:configure
RUN_DEPENDS= emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
${LOCALBASE}/share/emacs/20.3/site-lisp/emu/emu.el:${.CURDIR}/../../editors/apel-emacs20
WRKSRC= ${WRKDIR}/dl-canna-1.0
MAKE_ENV= PREFIX=${PREFIX}
MAKE_ARGS= EMACS_SRC_DIR=${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
PLIST_SUB= EMACS_VER=${EMACS_VER} LISPDIR=${LISPDIR} DOCDIR=${DOCDIR}
EMACS_VER= 20.3
#EMACSDL_DIR= ${.CURDIR}/../../editors/emacs20-dl
EMACSDL_DIR= ${PORTSDIR}/editors/emacs20-dl
MODULEDIR!= emacs-dl-${EMACS_VER} -batch -eval "(princ exec-directory)"
LISPDIR= share/emacs/site-lisp
DOCDIR= share/doc/emacs20-dl-canna
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/canna.so ${MODULEDIR}/canna.so
@${INSTALL_DATA} ${WRKSRC}/canna.el ${PREFIX}/${LISPDIR}/canna.el
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>
|