freebsd-ports/chinese/cxterm/Makefile
Satoshi Asami 3405e8106b Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.

Submitted by:	bento
2000-09-12 13:04:00 +00:00

53 lines
1.4 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: cxterm
# Date created: Sat Aug 10, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#
PORTNAME= cxterm
PORTVERSION= 5.0.3
CATEGORIES= chinese x11
# unresponceive mastersite: ftp://ftp.ifcss.org/pub/software/x-win/cxterm/
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/ \
ftp://ftp.edu.tw/Chinese/ifcss/software/x-win/cxterm/ \
ftp://ftp.mpi-sb.mpg.de/pub/chinese/mirror/ftp.ifcss.org/software/x-win/cxterm/
DISTNAME= cxterm5.0.p3
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= cxterm-5.0.p3-color.patch.gz # cxterm-5.0-hz-patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= obrien@FreeBSD.org
WRKSRC= ${WRKDIR}/cxterm-5.0
USE_IMAKE= yes
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
XMKMF= xmkmf
ALL_TARGET= xrelease Makefiles includes all
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh \
${PREFIX}/bin/CXterm
# standard X11 place
${INSTALL_DATA} ${WRKDIR}/CXterm.ad \
${PREFIX}/lib/X11/app-defaults/CXterm
# standard CXterm place
${INSTALL_DATA} ${WRKDIR}/CXterm.ad \
${PREFIX}/lib/X11/cxterm.dic/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cxterm
${INSTALL_DATA} ${WRKSRC}/Doc/CXTERM.FAQ ${PREFIX}/share/doc/cxterm
${INSTALL_DATA} ${WRKSRC}/Doc/input.doc ${PREFIX}/share/doc/cxterm
.endif
.include <bsd.port.post.mk>