2002-02-26 07:37:10 +01:00
|
|
|
# New ports collection makefile for: anthy
|
|
|
|
# Date created: 26 February 2002
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= anthy
|
2004-11-03 17:42:29 +01:00
|
|
|
PORTVERSION= 5900
|
2002-02-26 07:37:10 +01:00
|
|
|
CATEGORIES= japanese
|
2004-11-03 17:42:29 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/12071
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
2003-08-31 13:26:36 +02:00
|
|
|
DIST_SUBDIR= anthy
|
2002-02-26 07:37:10 +01:00
|
|
|
|
2003-08-24 16:41:50 +02:00
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Another kana-kanji conversion system
|
2002-02-26 07:37:10 +01:00
|
|
|
|
2003-07-11 19:39:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-11-03 17:42:29 +01:00
|
|
|
USE_LIBTOOL_VER=15
|
2003-07-11 19:39:39 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-07-04 05:11:48 +02:00
|
|
|
USE_GNOME= lthack
|
2003-07-11 19:39:39 +02:00
|
|
|
|
2004-02-22 14:36:15 +01:00
|
|
|
DOCSDIR= share/doc/ja/anthy
|
|
|
|
ELISPDIR= share/emacs/site-lisp/anthy
|
2003-08-19 08:06:52 +02:00
|
|
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
|
|
|
|
2003-08-31 13:26:36 +02:00
|
|
|
.if defined(WITH_2CHDIC)
|
|
|
|
MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
|
|
|
|
DISTFILES+= 2ch.t:2chdic
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.endif
|
|
|
|
|
2005-01-09 13:37:36 +01:00
|
|
|
.if defined(WITH_ODIC)
|
|
|
|
MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic
|
|
|
|
DISTFILES+= okinawa-20041220.t:odic
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.endif
|
|
|
|
|
2003-08-31 13:26:36 +02:00
|
|
|
post-extract:
|
2005-01-09 13:37:36 +01:00
|
|
|
.if defined(WITH_2CHDIC)
|
2003-08-31 13:26:36 +02:00
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
|
2005-01-09 13:37:36 +01:00
|
|
|
@${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
|
2003-08-31 13:26:36 +02:00
|
|
|
.endif
|
|
|
|
|
2003-07-11 19:39:39 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
|
2002-02-26 07:37:10 +01:00
|
|
|
|
2003-08-19 08:06:52 +02:00
|
|
|
post-install:
|
2004-02-22 14:36:15 +01:00
|
|
|
${MKDIR} ${PREFIX}/${ELISPDIR}
|
2003-08-19 08:06:52 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${PREFIX}/${ELISPDIR}
|
2004-02-22 14:36:15 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-23 14:56:17 +01:00
|
|
|
${MKDIR} ${PREFIX}/${DOCSDIR}
|
2004-02-22 14:36:15 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/${DOCSDIR}
|
|
|
|
.endif
|
2003-08-19 08:06:52 +02:00
|
|
|
|
2002-02-26 07:37:10 +01:00
|
|
|
.include <bsd.port.mk>
|