mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
33e3d901d4
modular xorg. - supply corresponding USE_XORG for all imake-using ports that need it - USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG - retire USE_X_PREFIX which is not really used anywhere after the above change - a few minor nits like whitespace and SF macro Tested by: 2 tinderbox runs by pav Approved by: portmgr (pav)
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: vnterm
|
|
# Date created: Sat July 20, 1996
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vnterm
|
|
PORTVERSION= 3.4 #11.6.6[.0]
|
|
PORTREVISION?= 4
|
|
CATEGORIES= vietnamese x11
|
|
MASTER_SITES= ftp://ftp.x.org/pub/R6.6/tars/
|
|
DISTNAME= xorg-1
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= An xterm that speaks Vietnamese
|
|
|
|
USE_IMAKE= yes
|
|
USE_XORG= ice sm x11 xaw xext xmu xt xpm
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 800039
|
|
BROKEN= does not build
|
|
.endif
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet \
|
|
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
|
|
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
|
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
|
RUN_DEPENDS= ${PREFIX}/lib/X11/fonts/vietnamese/fonts.dir:${PORTSDIR}/vietnamese/vnxfonts
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/programs/xterm
|
|
WRKSRC= ${WRKDIR}/xc/programs/xterm
|
|
XMKMF= xmkmf
|
|
MAN1= vnterm.1
|
|
|
|
post-patch:
|
|
@${CP} -p ${FILESDIR}/vnvars.* ${WRKSRC}
|
|
|
|
pre-build:
|
|
${LN} -f ${WRKSRC}/XTerm.ad ${WRKSRC}/VNTerm.ad
|
|
${CP} -p ${FILESDIR}/vnterm.1V ${WRKSRC}/vnterm.man
|
|
|
|
post-install:
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/VNterm.sh ${PREFIX}/bin/VNterm
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/vnterm \
|
|
&& ${CHMOD} a+rx ${PREFIX}/share/doc/vnterm
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vnterm
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|