aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/emacs20-dl-wnn6/Makefile
blob: 4227ee5bcbdb16521cd95315b42b809f4b971d78 (plain) (blame)
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
46
47
48
49
50
51
52
53
# New ports collection makefile for:    emacs20-dl-wnn6
# Date created:     10 October 1998
# Whom:         shige
#
# $FreeBSD$
#

PORTNAME=   emacs20-dl-wnn6
PORTVERSION=    0.3.6
PORTREVISION=   2
CATEGORIES= japanese editors
MASTER_SITES=   http://tokuda-www.cs.titech.ac.jp/~katsuya/emacs/
DISTNAME=   dl-wnn-${PORTVERSION}

MAINTAINER= shige@FreeBSD.org
COMMENT=    Dynamic loading module input method `Wnn' on Emacs

LIB_DEPENDS=    wnn6.2:${.CURDIR}/../../japanese/Wnn6-lib
BUILD_DEPENDS=  emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
        autoconf:${PORTSDIR}/devel/autoconf \
        ${NONEXISTENT}:${EMACSDL_DIR}:configure
RUN_DEPENDS=    emacs-dl-${EMACS_VER}:${EMACSDL_DIR}

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-wnn6 \
        --with-wnn-includes=${PREFIX}/include/wnn6/wnn \
        --with-wnn-libraries=${PREFIX}/lib \
        --with-emacs-src=${EMACSDL_SRCDIR}
CONFIGURE_ENV=  EMACS=${PREFIX}/bin/emacs-dl-${EMACS_VER}
PLIST_SUB=  EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
        DOCDIR=${DOCDIR}

DOCDIR=     share/doc/emacs20-dl-wnn6
EMACS_VER=  20.7
EMACSDL_DIR=    ${.CURDIR}/../../editors/emacs20-dl
EMACSDL_SRCDIR= ${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
# hack to allow parallel build to work
.if defined(PARALLEL_PACKAGE_BUILD)
USE_GMAKE=  yes
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
.endif

post-install:
    @${LN} -sf ${PREFIX}/share/emacs/site-lisp/egg/eggrc-wnn \
        ${PREFIX}/share/emacs/site-lisp/egg/.eggrc
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/${DOCDIR}
    @${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/${DOCDIR}
    @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/${DOCDIR}
.endif

.include <bsd.port.mk>
n>3-83/+3 * Missed two occurences of ${PORTSDIR}/.mat2016-04-022-2/+2 * - Update to 2.1.1.stephen2016-04-022-4/+4 * bsd.sites.mk: with last mirror dead retire MASTER_SITE_ALSAjbeich2016-04-024-9/+3 * audio/alsa-*: update to 1.1.1jbeich2016-04-0210-52/+14 * - Switch to more correct USES=makeinfoamdmi32016-04-021-2/+2 * - Fix handling of empty directories in documentationamdmi32016-04-021-2/+4 * - Fix dependency lineamdmi32016-04-021-1/+1 * - Add missing dependency on makeinfo, fix build on 11.xamdmi32016-04-021-1/+2 * Fix props.mat2016-04-021-1/+1 * - Add LICENSEamdmi32016-04-021-4/+8 * - Update to 15.08.9amdmi32016-04-022-4/+4 * - Update to 2.7.1amdmi32016-04-023-4/+8 * graphics/graphite2: update to 1.3.8jbeich2016-04-022-3/+3 * graphics/sekrit-twc-zimg: add new portjbeich2016-04-028-0/+239 * devel/leiningen: 2.5.3 -> 2.6.1pi2016-04-022-5/+5 * - Add LICENSEamdmi32016-04-011-0/+7 * Update to 0.9.5.mat2016-04-013-8/+8 * - Add LICENSEamdmi32016-04-012-3/+8 * - Fix licenseamdmi32016-04-011-2/+4 * - Add LICENSE_FILEamdmi32016-04-011-4/+7 * - Switch to options helpersamdmi32016-04-012-3/+5 * - Update to 4.7.0amdmi32016-04-012-3/+3 * Try to unbreak on 64-bit architectures by avoiding casting from pointer todanfe2016-04-013-11/+340 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-01