mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: vnterm
|
|
# Version required: 3.3
|
|
# Date created: Sat July 20, 1996
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= vnterm3.3
|
|
PKGNAME= vi-vnterm-3.3
|
|
CATEGORIES= vietnamese x11
|
|
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \
|
|
ftp://ftp.monash.edu.au/pub/vietnam/unix/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
USE_IMAKE= yes
|
|
XMKMF= xmkmf
|
|
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} ${PKGDIR}/INSTALL ${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.mk>
|