1999-01-26 03:03:44 +00:00
|
|
|
# New ports collection makefile for: eb
|
|
|
|
# Date created: 20 Jan 1999
|
|
|
|
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-01-26 03:03:44 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= eb
|
2005-10-02 04:46:22 +00:00
|
|
|
PORTVERSION= 4.2.1
|
2005-10-27 00:14:16 +00:00
|
|
|
PORTREVISION= 1
|
1999-01-26 03:03:44 +00:00
|
|
|
CATEGORIES= japanese
|
2004-12-26 13:36:24 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTFILES= ${EBFILES} \
|
2000-04-19 03:24:37 +00:00
|
|
|
${LISTFILES} \
|
2000-04-11 14:15:53 +00:00
|
|
|
${APPENDIXFILES}
|
|
|
|
EXTRACT_ONLY= ${EBFILES}
|
1999-01-26 03:03:44 +00:00
|
|
|
|
2005-10-27 00:14:16 +00:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= eb-4.2.1+.diff
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2004-01-22 09:34:43 +00:00
|
|
|
MAINTAINER= takamune2004@yahoo.co.jp
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= C library for accessing EB, EBG, EBXA and EPWING CD-ROM dictionaries
|
1999-01-26 03:03:44 +00:00
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
EBFILES= ${DISTNAME}${EXTRACT_SUFX}
|
2000-04-19 03:24:37 +00:00
|
|
|
LISTFILES= appendix/LIST \
|
|
|
|
appendix/LIST-ja
|
2000-02-13 17:03:35 +00: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 17:37:23 +00:00
|
|
|
appendix/crownfj2-1.0.tar.gz \
|
|
|
|
appendix/crowngj-1.0.tar.gz \
|
2000-02-13 17:03:35 +00:00
|
|
|
appendix/daihyakka-1.0.tar.gz \
|
|
|
|
appendix/daijirin-2.0.tar.gz \
|
|
|
|
appendix/dd75-2.0.tar.gz \
|
2003-02-28 17:37:23 +00:00
|
|
|
appendix/gendai2000-1.0.tar.gz \
|
2000-02-13 17:03:35 +00:00
|
|
|
appendix/genius-1.0.tar.gz \
|
2002-08-27 04:37:57 +00:00
|
|
|
appendix/genius2-1.1.tar.gz \
|
2000-02-13 17:03:35 +00: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 03:24:37 +00:00
|
|
|
appendix/readers2-2.0.tar.gz \
|
2003-06-24 08:23:14 +00:00
|
|
|
appendix/ruigigo-1.0.tar.gz \
|
2000-04-19 03:24:37 +00:00
|
|
|
appendix/superdic98-1.0.tar.gz
|
1999-01-26 03:03:44 +00:00
|
|
|
|
|
|
|
DIST_SUBDIR= eb
|
2002-03-31 16:14:54 +00:00
|
|
|
|
2005-07-31 07:17:11 +00:00
|
|
|
USE_BZIP2= yes
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2002-11-07 11:54:23 +00:00
|
|
|
USE_PERL5= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-02-28 17:37:23 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-03-31 16:14:54 +00:00
|
|
|
CONFIGURE_ARGS= --enable-nls \
|
2003-03-02 20:35:38 +00:00
|
|
|
--with-gettext-includes=${LOCALBASE}/include \
|
|
|
|
--with-gettext-libraries=${LOCALBASE}/lib \
|
|
|
|
--with-iconv-includes=${LOCALBASE}/include \
|
2004-12-26 11:30:31 +00:00
|
|
|
--with-iconv-libraries=${LOCALBASE}/lib \
|
|
|
|
--with-pkgdocdir=${DOCSDIR}
|
2002-03-31 16:14:54 +00:00
|
|
|
|
2003-03-02 20:35:38 +00:00
|
|
|
APPENDIXDIR= ${DATADIR}/appendix
|
1999-01-26 03:03:44 +00:00
|
|
|
|
2004-03-07 12:50:59 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
|
|
|
BROKEN= "Configure fails on ia64"
|
|
|
|
.endif
|
|
|
|
|
2003-02-28 17:37:23 +00:00
|
|
|
post-extract:
|
2003-03-02 20:35:38 +00:00
|
|
|
${RM} -fr ${WRKSRC}/zlib
|
|
|
|
${MKDIR} ${WRKDIR}/appendix
|
2003-02-22 17:04:33 +00:00
|
|
|
.for file in ${APPENDIXFILES}
|
2003-03-02 20:35:38 +00:00
|
|
|
${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
|
2003-02-22 17:04:33 +00:00
|
|
|
${DISTDIR}/${DIST_SUBDIR}/${file}
|
|
|
|
.endfor
|
2002-07-07 18:23:15 +00:00
|
|
|
|
1999-01-26 03:03:44 +00:00
|
|
|
post-install:
|
2005-10-27 00:14:16 +00:00
|
|
|
.for f in ${LISTFILES}
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${APPENDIXDIR}
|
2000-04-19 03:24:37 +00:00
|
|
|
.endfor
|
2003-02-22 17:04:33 +00:00
|
|
|
${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
|
1999-01-26 03:03:44 +00:00
|
|
|
|
2004-03-07 12:50:59 +00:00
|
|
|
.include <bsd.port.post.mk>
|