aboutsummaryrefslogtreecommitdiffstats
path: root/converters/mule-ucs-emacs20/Makefile
blob: 9048512e59d37a512437d96a6ea75b474281e019 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# New ports collection makefile for:    Mule-UCS for GNU Emacs 20
# Date created:     14 January 2000
# Whom:         OKAZAKI Tetsurou
#
# $FreeBSD$
#

PORTNAME=   mule-ucs-${EMACS_PORT}
PORTVERSION=    0.74
CATEGORIES= converters elisp
MASTER_SITES=   ftp://ftp.kddlabs.co.jp/Japan/m17n.org/mule/Mule-UCS/ \
        ftp://ftp.etl.go.jp/pub/mule/Mule-UCS/ \
        ftp://ftp.win.or.jp/pub/word/mule/Mule-UCS/ \
        ftp://ftp.center.osaka-u.ac.jp/mule/Mule-UCS/ \
        ftp://ftp.kreonet.re.kr/pub/tools/emacs/mule/Mule-UCS/ \
        ftp://ftp.m17n.org/pub/mule/Mule-UCS/
DISTNAME=   Mule-UCS-${PORTVERSION}

MAINTAINER= okazaki@be.to

MULEUCSDOCDIR=  share/doc/mule-ucs

# emacs20
EMACS_PORT_NAME=    emacs20

# target name for make build
ALL_TARGET= elc

EMACS_CMD=  ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
BUILD_DEPENDS=  ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME}
RUN_DEPENDS=    ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT_NAME}
SCRIPTS_ENV=    EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
        EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER}
PLIST_SUB=  EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
        EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
        MULEUCSDOCDIR=${MULEUCSDOCDIR}
MAKE_FLAGS= EMACS=${EMACS_CMD}

MULEUCS_DESTDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/mule-ucs
EMACS_ARGS= -q --no-site-file -batch

do-build:
    cd ${WRKSRC} && \
        ${EMACS_CMD} ${EMACS_ARGS} -l mucs-comp.el
    cd ${WRKSRC}/lisp/big5conv && \
        ${EMACS_CMD} ${EMACS_ARGS} -l big5-comp.el
    cd ${WRKSRC}/lisp/jisx0213 && \
        ${EMACS_CMD} ${EMACS_ARGS} -l x0213-comp.el

do-install:
    @${MKDIR} ${MULEUCS_DESTDIR}
    cd ${WRKSRC}/lisp; \
    for dir in . big5conv jisx0213 reldata ; do \
        ${MKDIR} ${MULEUCS_DESTDIR}/$${dir} ; \
        ${INSTALL_DATA} $${dir}/*.el* ${MULEUCS_DESTDIR}/$${dir} ; \
    done
    @${RM} ${MULEUCS_DESTDIR}/big5conv/big5-comp.el
    @${RM} ${MULEUCS_DESTDIR}/jisx0213/x0213-comp.el

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/${MULEUCSDOCDIR}
    cd ${WRKSRC}/lisp; \
    for i in ChangeLog MuleUni.txt README* ; do \
        ${INSTALL_DATA} $${i} ${PREFIX}/${MULEUCSDOCDIR}/ ; \
    done
    ${INSTALL_DATA} ${WRKSRC}/lisp/big5conv/README \
             ${PREFIX}/${MULEUCSDOCDIR}/README.big5conv
    ${INSTALL_DATA} ${WRKSRC}/lisp/jisx0213/ChangeLog \
             ${PREFIX}/${MULEUCSDOCDIR}/ChangeLog.jisx0213
    ${INSTALL_DATA} ${WRKSRC}/lisp/jisx0213/readme.txt \
             ${PREFIX}/${MULEUCSDOCDIR}/README.jisx0213
.endif

.include <bsd.port.mk>
9 04:01:29 +0800'>2009-09-292-1/+18 * Fix several cmake modules.makc2009-09-254-26/+236 * lzmautils-devel -> xznaddy2009-09-211-2/+2 * - Get rid of /usr/X11R6fluffy2009-09-051-1/+8 * The FreeBSD KDE is please to announce the release of KDE 4.3.1,tabthorpe2009-09-023-4/+4 * Mk/bsd.kde4.mk:makc2009-08-1012-53/+59 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-057-66/+229 * - update to jpeg7dinoex2009-07-181-0/+1 * The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-034-12/+13 * Update KDE ports to 4.2.3makc2009-05-102-3/+4 * - Mark all kde4 ports MAKE_JOBS_UNSAFEmiwi2009-04-171-1/+1 * Fix patch to allow build on HEADmakc2009-04-031-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-023-4/+22 * Update devel/cmake to 2.6.3.makc2009-03-252-3/+13 * Update KDE to 4.2.1.makc2009-03-099-426/+18 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-0927-646/+855 * kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-147-8/+232 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.1miwi2008-09-033-3/+43 * - Fix dependecy list, resolve dependency conflictmiwi2008-08-131-2/+8 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.0miwi2008-08-1019-4231/+2114 * It looks like I pulled the diff against the non-clean source.ed2008-06-271-3/+4 * Prevent the usage of the CTRL() macro.ed2008-06-272-1/+35 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-3/+3 * Icon-cleanup shenanigans, seelofi2008-03-141-0/+1 * Remove support for XFree8-4.flz2008-03-081-5/+0 * Update to KDE 3.5.8lofi2007-10-3010-659/+116 * Chase OpenEXR library version bumped.nork2007-10-081-1/+1 * Add fix to allow kdelibs3 to build with new CUPSade2007-10-051-0/+606 * Add patch for KDM passwordless login vulnerability and update patcheslofi2007-09-203-62/+35 * Add a patch to allow restarting cups from the print kcm module.lofi2007-09-152-0/+69 * Fix browsing for SMB printers in the KDE print wizard.lofi2007-09-011-0/+11 * Fix Konqueror address bar spoofing attack vulnerability.lofi2007-08-192-1/+62 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-046-154/+15 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * Fix handling of overlong UTF8 sequences in Qt and kdelibs, which, unpatched,lofi2007-03-312-1/+39 * Security: http://www.kde.org/info/security/advisory-20070326-1.txtlofi2007-03-293-36/+82 * Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-146-271/+11 * o Update to 1.4.0nork2007-03-111-1/+1 * Fix for .contentWindow queries crashing on invalid windows.lofi2007-03-062-1/+37 * Remove accidentally reintroduced DEPENDSlofi2007-02-071-1/+0 * Fix khtml/konqueror title XSS vulnerability.lofi2007-02-072-3/+24 * - Replace DEPENDS, which are about to be removedpav2007-01-311-2/+3 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-205-928/+229 * Let slaveports override PORTREVISIONmarkus2006-10-241-1/+1 * - Fix an integer overflow vulnerability in Qt and kdelibsmarkus2006-10-232-1/+15 * Do not install hicolor-theme directories and index file, instead dependlofi2006-10-182-3/+4 * Support printing over CUPS 1.2.x' unix domain socket interface.lofi2006-09-272-1/+252 * Fix KControl/kcmshell so the Peripherals/Digital Camera KControl modulelofi2006-09-142-0/+12 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-134-5/+34 * Update to KDE 3.5.3lofi2006-06-065-33/+558 * - Renamed port graphics/libart_lgpl2 -> graphics/libart_lgplpav2006-05-281-1/+1 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-131-1/+0 * - Switch lua dependency to lang/lua50pav2006-05-031-1/+1 * Disable the configure check for valgrind. The valgrind instrumentationlofi2006-04-131-0/+158 * Fix KDE bug 124654.lofi2006-04-082-0/+20 * Update to KDE 3.5.2lofi2006-03-314-17/+10 * Conversion to a single libtool environment.ade2006-02-232-1/+129 * Fix the configure check for pcre to work with the latest pcre version.lofi2006-02-041-2/+2 * Update to KDE 3.5.1.lofi2006-02-01