2013-01-15 06:28:40 +01:00
|
|
|
# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
PORTNAME= eb
|
2012-09-13 22:33:53 +02:00
|
|
|
PORTVERSION= 4.4.3
|
2015-10-10 16:03:00 +02:00
|
|
|
PORTREVISION= 4
|
1999-01-26 04:03:44 +01:00
|
|
|
CATEGORIES= japanese
|
2008-02-05 15:58:35 +01:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ \
|
|
|
|
ftp://ftp.sra.co.jp/pub/misc/eb/old/eb-${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}/
|
2000-04-11 16:15:53 +02:00
|
|
|
DISTFILES= ${EBFILES} \
|
|
|
|
${APPENDIXFILES}
|
|
|
|
EXTRACT_ONLY= ${EBFILES}
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2006-01-03 00:10:34 +01:00
|
|
|
MAINTAINER= yasu@utahime.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= C library for accessing EB, EBG, EBXA, and EPWING CD-ROM dictionaries
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2014-01-15 08:24:05 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2013-01-15 06:28:40 +01:00
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
EBFILES= ${DISTNAME}${EXTRACT_SUFX}
|
2000-02-13 18:03:35 +01:00
|
|
|
APPENDIXFILES= appendix/cencro-1.0.tar.gz \
|
|
|
|
appendix/chujiten-2.3.tar.gz \
|
|
|
|
appendix/chujiten2-2.0.tar.gz \
|
|
|
|
appendix/chujiten6-2.3.tar.gz \
|
|
|
|
appendix/colloc-2.0.tar.gz \
|
|
|
|
appendix/crownfj-2.0.tar.gz \
|
2003-02-28 18:37:23 +01:00
|
|
|
appendix/crownfj2-1.0.tar.gz \
|
|
|
|
appendix/crowngj-1.0.tar.gz \
|
2000-02-13 18:03:35 +01:00
|
|
|
appendix/daihyakka-1.0.tar.gz \
|
|
|
|
appendix/daijirin-2.0.tar.gz \
|
|
|
|
appendix/dd75-2.0.tar.gz \
|
2003-02-28 18:37:23 +01:00
|
|
|
appendix/gendai2000-1.0.tar.gz \
|
2000-02-13 18:03:35 +01:00
|
|
|
appendix/genius-1.0.tar.gz \
|
2002-08-27 06:37:57 +02:00
|
|
|
appendix/genius2-1.1.tar.gz \
|
2000-02-13 18:03:35 +01:00
|
|
|
appendix/global-2.0.tar.gz \
|
|
|
|
appendix/heritage-2.2.tar.gz \
|
2012-09-13 22:33:53 +02:00
|
|
|
appendix/hyogen-1.0.tar.gz \
|
2000-02-13 18:03:35 +01:00
|
|
|
appendix/izumi-2.0.tar.gz \
|
|
|
|
appendix/jitenban-2.4.tar.gz \
|
|
|
|
appendix/jitenban97-2.1.tar.gz \
|
|
|
|
appendix/kanjigen-2.0.tar.gz \
|
|
|
|
appendix/kanjigen2-2.0.tar.gz \
|
|
|
|
appendix/kojien-2.3.tar.gz \
|
|
|
|
appendix/kojien2-2.0.tar.gz \
|
|
|
|
appendix/kojien4-2.2.tar.gz \
|
|
|
|
appendix/oxford-2.0.tar.gz \
|
|
|
|
appendix/plus-2.0.tar.gz \
|
|
|
|
appendix/readers-2.2.tar.gz \
|
2000-04-19 05:24:37 +02:00
|
|
|
appendix/readers2-2.0.tar.gz \
|
2003-06-24 10:23:14 +02:00
|
|
|
appendix/ruigigo-1.0.tar.gz \
|
2000-04-19 05:24:37 +02:00
|
|
|
appendix/superdic98-1.0.tar.gz
|
1999-01-26 04:03:44 +01:00
|
|
|
|
|
|
|
DIST_SUBDIR= eb
|
2002-03-31 18:14:54 +02:00
|
|
|
|
2012-09-13 22:33:53 +02:00
|
|
|
PORTDOCS= eb-01.html eb-02.html eb-03.html eb-04.html eb-05.html eb-06.html \
|
|
|
|
eb-07.html eb-08.html eb-09.html eb-10.html eb-11.html eb-12.html \
|
|
|
|
eb-13.html eb-14.html eb.html ebappendix-01.html ebappendix-02.html \
|
|
|
|
ebappendix-03.html ebappendix-04.html ebappendix.html ebfont-01.html \
|
|
|
|
ebfont-02.html ebfont-03.html ebfont-04.html ebfont.html \
|
|
|
|
ebinfo-01.html ebinfo-02.html ebinfo-03.html ebinfo-04.html \
|
|
|
|
ebinfo-05.html ebinfo.html ebrefile-01.html ebrefile-02.html \
|
|
|
|
ebrefile-03.html ebrefile.html ebstopcode-01.html ebstopcode-02.html \
|
|
|
|
ebstopcode-03.html ebstopcode.html ebzip-01.html ebzip-02.html \
|
|
|
|
ebzip-03.html ebzip-04.html ebzip-05.html ebzip-06.html ebzip-07.html \
|
|
|
|
ebzip-08.html ebzip-09.html ebzip-10.html ebzip.html
|
|
|
|
|
2015-01-20 21:47:34 +01:00
|
|
|
USES= autoreconf iconv libtool perl5 tar:bzip2
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-02 17:06:25 +01:00
|
|
|
USE_LDCONFIG= yes
|
2015-10-10 16:03:00 +02:00
|
|
|
CONFIGURE_ARGS= --with-pkgdocdir=${DOCSDIR} \
|
|
|
|
--with-iconv-includes=${ICONV_PREFIX}/include \
|
|
|
|
--with-iconv-libraries=${ICONV_PREFIX}/lib
|
2014-03-22 21:14:45 +01:00
|
|
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
2012-09-13 22:33:53 +02:00
|
|
|
|
2013-01-15 06:28:40 +01:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
2014-03-22 21:14:45 +01:00
|
|
|
OPTIONS_SUB= yes
|
2013-01-15 06:28:40 +01:00
|
|
|
|
2012-09-13 22:33:53 +02:00
|
|
|
APPENDIXDIR= ${DATADIR}/appendix
|
|
|
|
|
2014-06-19 00:07:17 +02:00
|
|
|
NLS_USES= gettext
|
2014-03-22 21:14:45 +01:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2015-10-10 16:03:00 +02:00
|
|
|
NLS_CONFIGURE_ON= --with-gettext-includes=${LOCALBASE}/include \
|
|
|
|
--with-gettext-libraries=${LOCALBASE}/lib
|
2014-06-19 00:07:17 +02:00
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2003-02-28 18:37:23 +01:00
|
|
|
post-extract:
|
2003-03-02 21:35:38 +01:00
|
|
|
${RM} -fr ${WRKSRC}/zlib
|
|
|
|
${MKDIR} ${WRKDIR}/appendix
|
2003-02-22 18:04:33 +01:00
|
|
|
.for file in ${APPENDIXFILES}
|
2003-03-02 21:35:38 +01:00
|
|
|
${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
|
2012-09-13 22:33:53 +02:00
|
|
|
${DISTDIR}/${DIST_SUBDIR}/${file}
|
2003-02-22 18:04:33 +01:00
|
|
|
.endfor
|
2002-07-07 20:23:15 +02:00
|
|
|
|
1999-01-26 04:03:44 +01:00
|
|
|
post-install:
|
2013-09-28 21:09:26 +02:00
|
|
|
(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} . ${STAGEDIR}${APPENDIXDIR} )
|
2014-03-22 21:14:45 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2013-09-28 21:09:26 +02:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
|
2014-03-22 21:14:45 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libeb.so
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2007-06-18 10:49:58 +02:00
|
|
|
.include <bsd.port.mk>
|