freebsd-ports/vietnamese/vnlpr/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

1999-09-06 00:21:16 +02:00
# ex:ts=8
2000-02-13 04:25:05 +01:00
# Ports collection makefile for: vnlpr
# Date created: Sat Dec 7, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
1999-08-31 04:11:56 +02:00
# $FreeBSD$
#
PORTNAME= vnlpr
PORTVERSION= 2.0
1997-11-03 22:07:12 +01:00
CATEGORIES= vietnamese print
MASTER_SITES= ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar.Z
2000-02-13 04:25:05 +01:00
MAINTAINER= obrien@FreeBSD.org
COMMENT= Shell script and set of fonts to print Vietnamese text on PostScript printer
RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \
vnpstext:${PORTSDIR}/vietnamese/vnpstext
pre-patch:
1997-09-22 19:04:39 +02:00
@${MV} ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in
do-build:
1997-09-22 19:04:39 +02:00
${SED} -e "s:^set VNLIB=./:set VNLIB=${PREFIX}/share/vn-fonts:" \
-e 's/^set PRINTER="barrons"/#set PRINTER="postscript"/' \
${WRKSRC}/vnlpr.in > ${WRKSRC}/vnlpr
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vnlpr ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.ps ${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.gsf ${PREFIX}/share/vn-fonts
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/vnlpr
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vnlpr
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/vnlpr
.endif
.include <bsd.port.mk>