diff options
Diffstat (limited to 'japanese/anthy/Makefile')
-rw-r--r-- | japanese/anthy/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile index 7512a47a2d66..938c2e12f1aa 100644 --- a/japanese/anthy/Makefile +++ b/japanese/anthy/Makefile @@ -2,13 +2,13 @@ # $FreeBSD$ PORTNAME= anthy -PORTVERSION= 9100h -PORTREVISION= 5 +PORTVERSION= 0.4 +PORTREVISION= 1 +PORTEPOCH= 1 CATEGORIES= japanese -MASTER_SITES= OSDN/${PORTNAME}/37536 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -DIST_SUBDIR= anthy -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= DEBIAN +DISTFILES= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX} +EXTRACT_ONLY= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Another Kana-Kanji conversion system @@ -18,11 +18,11 @@ LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -USES= libtool pathfix pkgconfig +USES= iconv:patch libtool pathfix pkgconfig USE_LDCONFIG= yes -INSTALL_TARGET= install-strip +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/doc/ja/anthy ELISPDIR= share/emacs/site-lisp/anthy PLIST_SUB= ELISPDIR=${ELISPDIR} @@ -77,6 +77,8 @@ post-extract: post-patch: ${REINPLACE_CMD} -e \ 's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in + ${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig + ${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig > ${WRKSRC}/src-util/rkhelper.c post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} |