1999-09-05 22:21:16 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: vnlpr
|
1996-12-09 02:02:49 +00:00
|
|
|
# Date created: Sat Dec 7, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1996-12-09 02:02:49 +00:00
|
|
|
#
|
|
|
|
|
2000-04-15 01:56:18 +00:00
|
|
|
PORTNAME= vnlpr
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 2.0
|
1997-11-03 21:07:12 +00:00
|
|
|
CATEGORIES= vietnamese print
|
1996-12-09 02:02:49 +00:00
|
|
|
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \
|
|
|
|
ftp://ftp.monash.edu.au/pub/vietnam/unix/
|
2000-04-15 01:56:18 +00:00
|
|
|
DISTNAME= ${PORTNAME}
|
1996-12-09 02:02:49 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2000-02-13 03:25:05 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-12-09 02:02:49 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \
|
|
|
|
vnpstext:${PORTSDIR}/vietnamese/vnpstext
|
|
|
|
|
|
|
|
pre-patch:
|
1997-09-22 17:04:39 +00:00
|
|
|
@${MV} ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in
|
1996-12-09 02:02:49 +00:00
|
|
|
|
|
|
|
do-build:
|
1997-09-22 17:04:39 +00:00
|
|
|
${SED} -e "s:^set VNLIB=./:set VNLIB=${PREFIX}/share/vn-fonts:" \
|
1996-12-09 02:02:49 +00:00
|
|
|
-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>
|