2013-02-18 06:44:30 +01:00
|
|
|
# Created by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1998-12-15 16:22:46 +01:00
|
|
|
|
2002-03-06 13:14:13 +01:00
|
|
|
PORTNAME= ddskk
|
2013-03-23 06:59:21 +01:00
|
|
|
PORTVERSION= 15.1
|
2015-04-27 12:29:27 +02:00
|
|
|
PORTREVISION= 3
|
1998-12-15 16:22:46 +01:00
|
|
|
CATEGORIES= japanese elisp
|
2004-11-06 10:56:01 +01:00
|
|
|
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/ \
|
2007-02-07 14:51:32 +01:00
|
|
|
ftp://ftp.ring.gr.jp/pub/elisp/skk/maintrunk/ \
|
|
|
|
http://www.ring.gr.jp/archives/elisp/skk/maintrunk/
|
2002-03-06 13:14:13 +01:00
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
1998-12-15 16:22:46 +01:00
|
|
|
|
2014-07-23 19:07:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Simple Kana to Kanji conversion program on Emacsen
|
1998-12-15 16:22:46 +01:00
|
|
|
|
2014-08-21 01:46:28 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
2013-02-18 06:44:30 +01:00
|
|
|
|
2011-09-26 20:04:43 +02:00
|
|
|
USE_EMACS= yes
|
2014-08-21 01:46:28 +02:00
|
|
|
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" \
|
|
|
|
SKK_LISPDIR="${STAGEDIR}${PREFIX}/${SKK_LISPDIR}" \
|
|
|
|
SKK_INFODIR="${STAGEDIR}${PREFIX}/${INFO_PATH}"
|
|
|
|
ALL_TARGET= elc info
|
|
|
|
|
2005-12-04 09:59:04 +01:00
|
|
|
INFO= skk
|
2014-08-21 01:46:28 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
2005-12-04 09:59:04 +01:00
|
|
|
|
2014-08-21 01:46:28 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
1998-12-15 16:22:46 +01:00
|
|
|
|
2014-08-21 01:46:28 +02:00
|
|
|
SKK_LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/skk
|
2003-08-05 18:08:09 +02:00
|
|
|
|
2014-08-21 01:46:28 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/skk-tut-file/s|@TUT@|${PREFIX}/share/skk/SKK.tut|' \
|
|
|
|
${WRKSRC}/skk-setup.el.in
|
2011-06-01 10:15:27 +02:00
|
|
|
|
2014-08-21 01:46:28 +02:00
|
|
|
pre-build:
|
|
|
|
.for i in skk-lookup.el skk-jisx0213.el
|
|
|
|
@${MV} ${WRKSRC}/${i} ${WRKDIR}
|
|
|
|
.endfor
|
2013-02-18 06:44:30 +01:00
|
|
|
|
1998-12-15 16:22:46 +01:00
|
|
|
post-install:
|
2014-08-21 01:46:28 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${SKK_LISPDIR}
|
|
|
|
.for i in skk-lookup.el skk-jisx0213.el
|
|
|
|
(cd ${WRKDIR} && ${INSTALL_DATA} ${i} \
|
|
|
|
${STAGEDIR}${PREFIX}/${SKK_LISPDIR})
|
2002-03-06 13:14:13 +01:00
|
|
|
.endfor
|
2014-08-21 01:46:28 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for i in AUTHORS.ja CODENAME.ja Contributors FAQ.ja NEWS.ja README
|
|
|
|
(cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} \
|
|
|
|
${STAGEDIR}${DOCSDIR})
|
2002-03-06 13:14:13 +01:00
|
|
|
.endfor
|
2014-08-21 01:46:28 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.for i in Emacs.ad dot.emacs dot.skk
|
|
|
|
(cd ${WRKSRC}/etc && ${INSTALL_DATA} ${i} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR})
|
2011-09-26 20:04:43 +02:00
|
|
|
.endfor
|
1998-12-15 16:22:46 +01:00
|
|
|
|
2011-09-26 20:04:43 +02:00
|
|
|
.include <bsd.port.mk>
|