1999-09-07 11:24:10 +00:00
|
|
|
# New ports collection makefile for: xcin25
|
1999-12-24 04:08:54 +00:00
|
|
|
# Version required: xcin-2.5.2b4
|
1999-10-19 08:01:41 +00:00
|
|
|
# Date created: 18 Oct 1999
|
1999-12-24 04:08:54 +00:00
|
|
|
# Whom: Keith Jang <keith@freebsd.sinica.edu.tw>
|
1997-12-15 17:57:54 +00:00
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1997-12-15 17:57:54 +00:00
|
|
|
#
|
|
|
|
|
1999-12-24 04:08:54 +00:00
|
|
|
DISTNAME= xcin-2.5-19991128
|
|
|
|
PKGNAME= zh-xcin-2.5.2b4
|
1999-09-07 11:24:10 +00:00
|
|
|
CATEGORIES= chinese x11
|
1999-10-19 08:01:41 +00:00
|
|
|
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/
|
1997-12-15 17:57:54 +00:00
|
|
|
|
1999-11-06 09:30:21 +00:00
|
|
|
MAINTAINER= keith@freebsd.sinica.edu.tw
|
1997-12-15 17:57:54 +00:00
|
|
|
|
1999-09-07 11:24:10 +00:00
|
|
|
LIB_DEPENDS= tabe.0:${PORTSDIR}/chinese/libtabe \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
|
1999-11-06 09:30:21 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86 \
|
1999-12-24 04:08:54 +00:00
|
|
|
${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts
|
1997-12-15 17:57:54 +00:00
|
|
|
|
1999-09-07 11:24:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xcin-2.5
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-09-07 11:24:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-xcin-dir=${PREFIX}/lib/X11/xcin25 \
|
|
|
|
--with-dbinc=${LOCALBASE}/include/db2 \
|
|
|
|
--with-dblib=${LOCALBASE}/lib \
|
|
|
|
--with-tabeinc=${LOCALBASE}/include/tabe \
|
|
|
|
--with-tabelib=${LOCALBASE}/lib \
|
|
|
|
--with-intlinc=${LOCALBASE}/include \
|
|
|
|
--with-intllib=${LOCALBASE}/lib
|
1997-12-15 17:57:54 +00:00
|
|
|
|
1999-09-07 11:24:10 +00:00
|
|
|
post-install:
|
1999-11-06 09:30:21 +00:00
|
|
|
strip ${PREFIX}/bin/xcin2.5
|
|
|
|
strip ${PREFIX}/lib/X11/xcin25/bin/cin2tab
|
1999-09-07 11:24:10 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc
|
1999-12-24 04:08:54 +00:00
|
|
|
.for DOC in Bugs COPYING CREDITS Changes Cin CopyRight FAQ README README.En \
|
|
|
|
SETUP Todo Usage UserGuide
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${DOC} ${PREFIX}/lib/X11/xcin25/doc
|
|
|
|
.endfor
|
1999-09-07 11:24:10 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/internal
|
1999-12-24 04:08:54 +00:00
|
|
|
.for INTERNAL in IMdkit gen_inp gui_request module structer
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/internal/${INTERNAL} \
|
1999-09-07 11:24:10 +00:00
|
|
|
${PREFIX}/lib/X11/xcin25/doc/internal
|
1999-12-24 04:08:54 +00:00
|
|
|
.endfor
|
1999-09-07 11:24:10 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/modules
|
1999-12-24 04:08:54 +00:00
|
|
|
.for MODULES in bimsphone gen_inp im_comm zh_hex
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/modules/${MODULES} \
|
1999-09-07 11:24:10 +00:00
|
|
|
${PREFIX}/lib/X11/xcin25/doc/modules
|
1999-12-24 04:08:54 +00:00
|
|
|
.endfor
|
1999-09-07 11:24:10 +00:00
|
|
|
.endif
|
1997-12-15 17:57:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|