993e3f08dc
Okinawa region (located at the southern tip of Japan) to the anthy dictionary. PR: ports/75309 Submitted by: Yamashiro Jun <yamajun@ofug.net>
66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
# New ports collection makefile for: anthy
|
|
# Date created: 26 February 2002
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anthy
|
|
PORTVERSION= 5900
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/12071
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= anthy
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= Another kana-kanji conversion system
|
|
|
|
USE_REINPLACE= yes
|
|
USE_LIBTOOL_VER=15
|
|
INSTALLS_SHLIB= yes
|
|
USE_GNOME= lthack
|
|
|
|
DOCSDIR= share/doc/ja/anthy
|
|
ELISPDIR= share/emacs/site-lisp/anthy
|
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
|
|
|
.if defined(WITH_2CHDIC)
|
|
MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
|
|
DISTFILES+= 2ch.t:2chdic
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
.if defined(WITH_ODIC)
|
|
MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic
|
|
DISTFILES+= okinawa-20041220.t:odic
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
post-extract:
|
|
.if defined(WITH_2CHDIC)
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
|
|
@${REINPLACE_CMD} -e 's/base.t extra.t/base.t extra.t 2ch.t/' \
|
|
${WRKSRC}/mkanthydic/Makefile.in
|
|
.endif
|
|
|
|
.if defined(WITH_ODIC)
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/okinawa-20041220.t ${WRKSRC}/mkanthydic
|
|
@${REINPLACE_CMD} -e \
|
|
's/base.t extra.t/base.t extra.t okinawa-20041220.t/' \
|
|
${WRKSRC}/mkanthydic/Makefile.in
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/${ELISPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|