diff options
Diffstat (limited to 'chinese/xcin25/Makefile')
-rw-r--r-- | chinese/xcin25/Makefile | 73 |
1 files changed, 58 insertions, 15 deletions
diff --git a/chinese/xcin25/Makefile b/chinese/xcin25/Makefile index 3cf572ce2a02..6a57624e1165 100644 --- a/chinese/xcin25/Makefile +++ b/chinese/xcin25/Makefile @@ -1,26 +1,69 @@ -# New ports collection makefile for: xcin -# Version required: xcin-2.3.03 -# Date created: Nov 28 ,1997 -# Whom: Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw> +# New ports collection makefile for: xcin25 +# Version required: xcin-2.5.1 +# Date created: 25 June 1999 +# Whom: Keith Jang <jtjang@gcn.net.tw> # # $FreeBSD$ # -DISTNAME= xcin-2.3.03 -PKGNAME= zh-xcin-2.3.03 -CATEGORIES= chinese -MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/ \ - ftp://ftp.ncu.edu.tw/OS/Linux/Chinese/xcin/xcin/ \ - ftp://linux.cis.nctu.edu.tw/packages/chinese/X/xcin/xcin/ +DISTNAME= xcin-2.5.1 +PKGNAME= zh-xcin-2.5.1 +CATEGORIES= chinese x11 +MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/ -MAINTAINER= yssu@CCCA.NCTU.edu.tw +MAINTAINER= jtjang@gcn.net.tw -RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts +LIB_DEPENDS= tabe.0:${PORTSDIR}/chinese/libtabe \ + intl.1:${PORTSDIR}/devel/gettext +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db +RUN_DEPENDS= ${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86 +WRKSRC= ${WRKDIR}/xcin-2.5 USE_X_PREFIX= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix="${X11BASE}" --os=FreeBSD --no-menu +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 -MAN1= xcin.1 cin2tab.1 +post-install: + ${STRIP} ${PREFIX}/bin/xcin2.5 + ${STRIP} ${PREFIX}/lib/X11/xcin25/bin/cin2tab +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/Bugs ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/COPYING ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/CREDITS ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/Changes ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/Cin ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/CopyRight ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/FAQ ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/SETUP ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/Todo ${PREFIX}/lib/X11/xcin25/doc + ${INSTALL_MAN} ${WRKSRC}/doc/Usage ${PREFIX}/lib/X11/xcin25/doc + ${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/internal + ${INSTALL_MAN} ${WRKSRC}/doc/internal/IMdkit \ + ${PREFIX}/lib/X11/xcin25/doc/internal + ${INSTALL_MAN} ${WRKSRC}/doc/internal/gen_inp \ + ${PREFIX}/lib/X11/xcin25/doc/internal + ${INSTALL_MAN} ${WRKSRC}/doc/internal/module \ + ${PREFIX}/lib/X11/xcin25/doc/internal + ${INSTALL_MAN} ${WRKSRC}/doc/internal/structer \ + ${PREFIX}/lib/X11/xcin25/doc/internal + ${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/modules + ${INSTALL_MAN} ${WRKSRC}/doc/modules/bimsphone \ + ${PREFIX}/lib/X11/xcin25/doc/modules + ${INSTALL_MAN} ${WRKSRC}/doc/modules/gen_inp \ + ${PREFIX}/lib/X11/xcin25/doc/modules + ${INSTALL_MAN} ${WRKSRC}/doc/modules/im_comm \ + ${PREFIX}/lib/X11/xcin25/doc/modules + ${INSTALL_MAN} ${WRKSRC}/doc/modules/zh_hex \ + ${PREFIX}/lib/X11/xcin25/doc/modules +.endif .include <bsd.port.mk> |