1999-01-26 04:03:44 +01:00
|
|
|
# New ports collection makefile for: eb
|
|
|
|
# Date created: 20 Jan 1999
|
|
|
|
# Whom: 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
|
2003-09-29 06:34:55 +02:00
|
|
|
PORTVERSION= 3.3.4
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 1
|
1999-01-26 04:03:44 +01:00
|
|
|
CATEGORIES= japanese
|
2002-08-27 06:37:57 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ \
|
2003-03-02 21:35:38 +01:00
|
|
|
ftp://ftp.eos.hokudai.ac.jp/pub/net/ndtp/eb/
|
2000-04-11 16:15:53 +02:00
|
|
|
DISTFILES= ${EBFILES} \
|
2000-04-19 05:24:37 +02:00
|
|
|
${LISTFILES} \
|
2000-04-11 16:15:53 +02:00
|
|
|
${APPENDIXFILES}
|
|
|
|
EXTRACT_ONLY= ${EBFILES}
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2000-08-18 17:40:36 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
2003-03-02 21:35:38 +01:00
|
|
|
#PATCHFILES= ${DISTNAME}+.diff ${DISTNAME}+2.diff
|
2000-08-18 17:40:36 +02:00
|
|
|
|
2004-01-22 10:34:43 +01:00
|
|
|
MAINTAINER= takamune2004@yahoo.co.jp
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= C library for accessing EB, EBG, EBXA and EPWING CD-ROM dictionaries
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
EBFILES= ${DISTNAME}${EXTRACT_SUFX}
|
2000-04-19 05:24:37 +02:00
|
|
|
LISTFILES= appendix/LIST \
|
|
|
|
appendix/LIST-ja
|
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 \
|
|
|
|
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
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2002-11-07 12:54:23 +01:00
|
|
|
USE_PERL5= yes
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER=13
|
2003-02-28 18:37:23 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-03-02 21:35:38 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-03-31 18:14:54 +02:00
|
|
|
CONFIGURE_ARGS= --enable-nls \
|
2003-03-02 21:35:38 +01:00
|
|
|
--with-gettext-includes=${LOCALBASE}/include \
|
|
|
|
--with-gettext-libraries=${LOCALBASE}/lib \
|
|
|
|
--with-iconv-includes=${LOCALBASE}/include \
|
|
|
|
--with-iconv-libraries=${LOCALBASE}/lib
|
2002-03-31 18:14:54 +02:00
|
|
|
|
2003-03-02 21:35:38 +01:00
|
|
|
APPENDIXDIR= ${DATADIR}/appendix
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2004-03-07 13:50:59 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
|
|
|
BROKEN= "Configure fails on ia64"
|
|
|
|
.endif
|
|
|
|
|
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 \
|
2003-02-22 18:04:33 +01:00
|
|
|
${DISTDIR}/${DIST_SUBDIR}/${file}
|
|
|
|
.endfor
|
2002-07-07 20:23:15 +02:00
|
|
|
|
1999-01-26 04:03:44 +01:00
|
|
|
post-install:
|
2000-04-19 05:24:37 +02:00
|
|
|
.for file in ${LISTFILES}
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${APPENDIXDIR}
|
|
|
|
.endfor
|
2003-02-22 18:04:33 +01:00
|
|
|
${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
|
1999-01-26 04:03:44 +01:00
|
|
|
|
2004-03-07 13:50:59 +01:00
|
|
|
.include <bsd.port.post.mk>
|