diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2002-09-13 05:51:56 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2002-09-13 05:51:56 +0000 |
commit | 5408006015d38680131c1f34735acf5d03685f41 (patch) | |
tree | 858be90de4c0e7acccfd4283160478213c1041f1 /japanese/waeijiro-fpw/Makefile | |
parent | 247cf3ac247ce4ffa45cd253efb8f5ab6287717b (diff) | |
download | ports-5408006015d38680131c1f34735acf5d03685f41.tar.gz ports-5408006015d38680131c1f34735acf5d03685f41.zip |
Notes
Diffstat (limited to 'japanese/waeijiro-fpw/Makefile')
-rw-r--r-- | japanese/waeijiro-fpw/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/japanese/waeijiro-fpw/Makefile b/japanese/waeijiro-fpw/Makefile new file mode 100644 index 000000000000..b53758e095b2 --- /dev/null +++ b/japanese/waeijiro-fpw/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: WAEIJIRO Dictionary - JIS X 4081 version +# Date created: 2002.9.9 +# Whom: Satoshi Taoka <taoka@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= waeijiro-fpw +PORTVERSION= 1.0 +CATEGORIES= japanese +#MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/ +MASTER_SITES= http://www.dsl.gr.jp/~tf/ +#DISTNAME= ${PORTNAME}${PORTVERSION}-src + +MAINTAINER= taoka@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/share/doc/freepwing/fpwutils.mk:${PORTSDIR}/japanese/freepwing \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode + +RESTRICTED= "The original dictionary is not free" +NO_PACKAGE= "The original dictionary is not free" +USE_GMAKE= yes +DICT_PATH?= /cdrom +SRCFILE?= waeiji52.txt +MAKE_ENV= SRC_DICT=${DICT_PATH}/${SRCFILE} + +post-extract: + @if [ ! -f ${DICT_PATH}/${SRCFILE} ]; then \ + ${ECHO} "###################################################"; \ + ${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \ + ${ECHO} "Specify the Waeijiro Dictionary file with the full path"; \ + ${ECHO} "and excecute the following command again:"; \ + ${ECHO} " make DICT_PATH=${DICT_PATH} SRCFILE=${SRCFILE}"; \ + ${ECHO} ""; \ + ${ECHO} "Notice: DICT_PATH must be a full path to the file."; \ + ${ECHO} "###################################################"; \ + ${FALSE}; \ + fi + ${CP} ${LOCALBASE}/share/doc/freepwing/fpwutils.mk ${WRKSRC} + +post-build: + cd ${WRKSRC}; fpwmake catalogs + +do-install: + ${MKDIR} ${PREFIX}/share/dict/waeijiro-fpw/waeijiro/data + ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/waeijiro-fpw/waeijiro/data + ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/waeijiro-fpw +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/waeijiro-fpw +.for i in README + ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/waeijiro-fpw +.endfor +.endif + +.include <bsd.port.mk> |