2003-02-06 05:24:11 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2003/02/06 04:24:12 uebayasi Exp $
|
2001-04-27 13:18:27 +02:00
|
|
|
# FreeBSD Id: ports/japanese/eb/Makefile,v 1.21 2000/08/21 03:39:42 kevlo Exp
|
|
|
|
|
2003-02-06 05:24:11 +01:00
|
|
|
DISTNAME= eb-3.2.3
|
2001-04-27 13:18:27 +02:00
|
|
|
CATEGORIES= textproc japanese
|
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/appendix/ \
|
|
|
|
ftp://ftp.sra.co.jp/pub/misc/eb/
|
2002-03-14 14:54:04 +01:00
|
|
|
DISTFILES= ${EB_DISTFILES} \
|
|
|
|
${EB_LISTS} \
|
|
|
|
${EB_APPENDICES}
|
2001-04-27 13:18:27 +02:00
|
|
|
|
2003-02-06 05:24:11 +01:00
|
|
|
MAINTAINER= uebayasi@netbsd.org
|
2001-04-27 13:18:27 +02:00
|
|
|
HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/eb/
|
|
|
|
COMMENT= C library for accessing EB, EBG, EBXA and EPWING CD-ROM dictionaries
|
|
|
|
|
2002-03-14 14:54:04 +01:00
|
|
|
EB_DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
EB_LISTS= LIST \
|
2001-04-27 13:18:27 +02:00
|
|
|
LIST-ja
|
2002-03-14 14:54:04 +01:00
|
|
|
EB_APPENDICES= \
|
|
|
|
cencro-1.0.tar.gz \
|
2001-04-27 13:18:27 +02:00
|
|
|
chujiten-2.3.tar.gz \
|
|
|
|
chujiten2-2.0.tar.gz \
|
|
|
|
chujiten6-2.3.tar.gz \
|
|
|
|
colloc-2.0.tar.gz \
|
|
|
|
crownfj-2.0.tar.gz \
|
2002-03-14 14:54:04 +01:00
|
|
|
crownfj2-1.0.tar.gz \
|
|
|
|
crowngj-1.0.tar.gz \
|
2001-04-27 13:18:27 +02:00
|
|
|
daihyakka-1.0.tar.gz \
|
|
|
|
daijirin-2.0.tar.gz \
|
|
|
|
dd75-2.0.tar.gz \
|
|
|
|
genius-1.0.tar.gz \
|
2003-02-06 05:24:11 +01:00
|
|
|
genius2-1.0.tar.gz \
|
2001-04-27 13:18:27 +02:00
|
|
|
global-2.0.tar.gz \
|
|
|
|
heritage-2.2.tar.gz \
|
|
|
|
izumi-2.0.tar.gz \
|
|
|
|
jitenban-2.4.tar.gz \
|
|
|
|
jitenban97-2.1.tar.gz \
|
|
|
|
kanjigen-2.0.tar.gz \
|
|
|
|
kanjigen2-2.0.tar.gz \
|
|
|
|
kojien-2.3.tar.gz \
|
|
|
|
kojien2-2.0.tar.gz \
|
|
|
|
kojien4-2.2.tar.gz \
|
|
|
|
oxford-2.0.tar.gz \
|
|
|
|
plus-2.0.tar.gz \
|
|
|
|
readers-2.2.tar.gz \
|
|
|
|
readers2-2.0.tar.gz \
|
|
|
|
superdic98-1.0.tar.gz
|
2002-03-14 14:54:04 +01:00
|
|
|
EXTRACT_ONLY= ${EB_DISTFILES}
|
2001-04-27 13:18:27 +02:00
|
|
|
|
|
|
|
DIST_SUBDIR= eb
|
2002-08-25 20:38:05 +02:00
|
|
|
USE_BUILDLINK2= # Defined
|
2002-03-14 14:54:04 +01:00
|
|
|
USE_LIBTOOL= # Defined
|
|
|
|
GNU_CONFIGURE= # Defined
|
2001-04-27 13:18:27 +02:00
|
|
|
CONFIGURE_ARGS+= --with-zlib
|
2002-03-14 14:54:04 +01:00
|
|
|
USE_GMAKE= # Defined
|
|
|
|
TEXINFO_OVERRIDE= YES
|
|
|
|
# For patterns like '... (install-info ...) ...'
|
2002-03-15 09:05:53 +01:00
|
|
|
TEXINFO_SUBST_SED+= -e "s!^\( .*\)\([ '(]\)install-info\([ ]\)!\1\2${INSTALL_INFO}\3!g"
|
2001-04-27 13:18:27 +02:00
|
|
|
|
2002-03-14 14:54:04 +01:00
|
|
|
EB_APPENDIXDIR= ${PREFIX}/share/eb/appendix
|
2001-04-27 13:18:27 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC} && ${RM} -rf zlib
|
|
|
|
|
|
|
|
post-install:
|
2002-03-14 14:54:04 +01:00
|
|
|
for f in ${EB_LISTS}; do \
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/$${f} ${EB_APPENDIXDIR}; \
|
2001-04-27 13:18:27 +02:00
|
|
|
done
|
2002-03-14 14:54:04 +01:00
|
|
|
for f in ${EB_APPENDICES}; do \
|
|
|
|
${GTAR} -C ${EB_APPENDIXDIR} -zxmf ${_DISTDIR}/$${f}; \
|
2001-04-27 13:18:27 +02:00
|
|
|
done
|
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
|
|
.include "../../devel/zlib/buildlink2.mk"
|
|
|
|
|
2002-02-18 16:14:00 +01:00
|
|
|
.include "../../mk/texinfo.mk"
|
2001-04-27 13:18:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|