1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/vietnamese/vnterm/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

51 lines
1.2 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.3
CATEGORIES= vietnamese x11
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \
ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME= ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
USE_IMAKE= yes
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
XMKMF= xmkmf
MAN1= vnterm.1
CFLAGS+= -I../../include
post-patch:
@${LN} ${WRKSRC}/XTerm.ad ${WRKSRC}/VNTerm.ad
@${LN} ${WRKSRC}/vnterm.1V ${WRKSRC}/vnterm.man
post-install:
@${INSTALL_SCRIPT} ${WRKDIR}/VNterm.sh ${PREFIX}/bin/VNterm
@${MKDIR} ${PREFIX}/lib/X11/fonts/vietnamese
@(cd ${WRKSRC}/../fonts/X ; \
${INSTALL_DATA} fonts.dir *.pcf.Z \
${PREFIX}/lib/X11/fonts/vietnamese ; \
)
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.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>