f560409f2c
Submitted by: 15655 Reviewed by: maintainer
56 lines
1.8 KiB
Makefile
56 lines
1.8 KiB
Makefile
# New ports collection makefile for: xcin25
|
|
# Version required: xcin-2.5.2b4
|
|
# Date created: 18 Oct 1999
|
|
# Whom: Keith Jang <keith@freebsd.sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= xcin-2.5-19991128
|
|
PKGNAME= zh-xcin-2.5.2b4
|
|
CATEGORIES= chinese x11
|
|
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/
|
|
|
|
MAINTAINER= keith@freebsd.sinica.edu.tw
|
|
|
|
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 \
|
|
${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts
|
|
|
|
WRKSRC= ${WRKDIR}/xcin-2.5
|
|
USE_X_PREFIX= yes
|
|
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
|
|
|
|
post-install:
|
|
strip ${PREFIX}/bin/xcin2.5
|
|
strip ${PREFIX}/lib/X11/xcin25/bin/cin2tab
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc
|
|
.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
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/internal
|
|
.for INTERNAL in IMdkit gen_inp gui_request module structer
|
|
${INSTALL_MAN} ${WRKSRC}/doc/internal/${INTERNAL} \
|
|
${PREFIX}/lib/X11/xcin25/doc/internal
|
|
.endfor
|
|
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc/modules
|
|
.for MODULES in bimsphone gen_inp im_comm zh_hex
|
|
${INSTALL_MAN} ${WRKSRC}/doc/modules/${MODULES} \
|
|
${PREFIX}/lib/X11/xcin25/doc/modules
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|