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-03-02 16:17:48 +01:00
|
|
|
PORTVERSION= 5100
|
2002-02-26 07:37:10 +01:00
|
|
|
CATEGORIES= japanese
|
2004-03-02 16:17:48 +01:00
|
|
|
MASTER_SITES= http://downloads.sourceforge.jp/anthy/8433/:anthy
|
2003-08-31 13:26:36 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:anthy
|
|
|
|
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-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-07-11 19:39:39 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
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}
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mkanthydic:Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_2CHDIC)
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
|
|
|
|
.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>
|