blob: f82a0873af9220080cbf45b7211d4f6ab5a5508c (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
PORTNAME= ddskk
DISTVERSION= 16.2
PORTREVISION= 14
CATEGORIES= japanese elisp
MASTER_SITES= ftp://ftp.ring.gr.jp/pub/elisp/skk/maintrunk/ \
http://www.ring.gr.jp/archives/elisp/skk/maintrunk/ \
http://openlab.ring.gr.jp/skk/maintrunk/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple Kana to Kanji conversion program on Emacsen
WWW= http://openlab.ring.gr.jp/skk/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/READMEs/COPYING
.if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox
BROKEN= fails to build
.endif
USES= emacs
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" \
SKK_LISPDIR="${STAGEDIR}${PREFIX}/${SKK_LISPDIR}" \
SKK_INFODIR="${STAGEDIR}${PREFIX}/${INFO_PATH}"
ALL_TARGET= elc info
NO_ARCH= yes
INFO= skk
PORTDOCS= *
PORTEXAMPLES= *
SKK_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/skk
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e \
'/skk-tut-file/s|@TUT@|${PREFIX}/share/skk/SKK.tut|' \
${WRKSRC}/skk-setup.el.in
pre-build:
.for i in skk-lookup.el skk-jisx0213.el
@${MV} ${WRKSRC}/${i} ${WRKDIR}
.endfor
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SKK_LISPDIR}
.for i in skk-lookup.el skk-jisx0213.el
${INSTALL_DATA} ${WRKDIR}/${i} ${STAGEDIR}${PREFIX}/${SKK_LISPDIR}
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS.ja CODENAME.ja Contributors Development.ja.org FAQ.ja NEWS.ja
${INSTALL_DATA} ${WRKSRC}/READMEs/${i} ${STAGEDIR}${DOCSDIR}
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in Emacs.ad dot.emacs dot.skk
${INSTALL_DATA} ${WRKSRC}/etc/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|