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