diff options
author | taoka <taoka@FreeBSD.org> | 2000-06-24 03:04:06 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2000-06-24 03:04:06 +0800 |
commit | 23ec4b53c106271fc1d2622237412b22e9621838 (patch) | |
tree | df0742feba15a63aa33089c6687e2e720ed30947 /japanese/srd-fpw/Makefile | |
parent | 92a77ba2c0681f81e1015e8f5c8b4b81625baa65 (diff) | |
download | freebsd-ports-gnome-23ec4b53c106271fc1d2622237412b22e9621838.tar.gz freebsd-ports-gnome-23ec4b53c106271fc1d2622237412b22e9621838.tar.zst freebsd-ports-gnome-23ec4b53c106271fc1d2622237412b22e9621838.zip |
A English - Japanese Dictionary "Random House" (EPWING V1 format)
Diffstat (limited to 'japanese/srd-fpw/Makefile')
-rw-r--r-- | japanese/srd-fpw/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/japanese/srd-fpw/Makefile b/japanese/srd-fpw/Makefile new file mode 100644 index 000000000000..300460967ba2 --- /dev/null +++ b/japanese/srd-fpw/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: srd - JIS X 4081 format version +# Date created: 00/06/14 +# Whom: Satoshi Taoka <taoka@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= srd-fpw +PORTVERSION= 1.0.8 +CATEGORIES= japanese +MASTER_SITES= http://openlab.ring.gr.jp/edict/srd-fpw/ +DISTNAME= srd-fpw${PORTVERSION}-src + +MAINTAINER= taoka@FreeBSD.org + +BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \ + catdump:${PORTSDIR}/japanese/epwutil \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode + +IS_INTERACTIVE= YES +RESTRICTED= "The original dictionary is not free" +WRKSRC= ${WRKDIR}/srd-fpw${PORTVERSION} +MOUNT_PT?= /cdrom + +post-extract: + @if [ ! -f ${MOUNT_PT}/srd.ini ]; then \ + ${ECHO} "###################################################"; \ + ${ECHO} "Specify a mount point for Random House's CD-ROM"; \ + ${ECHO} "and excecute the following command again:"; \ + ${ECHO} " make MOUNT_PT=${MOUNT_PT}"; \ + ${ECHO} "###################################################"; \ + ${FALSE}; \ + fi + +do-build: +# cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT} > /dev/null; \ + cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT}; \ + fpwmake catalogs + +do-install: + ${MKDIR} ${PREFIX}/share/dict/srd-fpw/srd-fpw/data + ${MKDIR} ${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji + ${INSTALL_DATA} ${WRKSRC}/honmon \ + ${PREFIX}/share/dict/srd-fpw/srd-fpw/data + ${INSTALL_DATA} ${WRKSRC}/gai16f \ + ${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji + ${INSTALL_DATA} ${WRKSRC}/gai16h \ + ${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji + ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/srd-fpw +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/srd-fpw +.for file in README.TXT README.PKG AUTHORS COPYING ChangeLog GAIJI.TXT TOBEDONE NEWS + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/srd-fpw +.endfor +.endif + +.include <bsd.port.mk> |