1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/vietnamese/vnlpr/Makefile
Antoine Brodin bcec230b8a Mark broken: Conflicts with dependency vnpstext on share/vn-fonts/initcour.ps
Installing vi-vnlpr-2.0...pkg-static: vi-vnlpr-2.0 conflicts with vi-vnpstext-1.1 (installs files into the same place).  Problematic file: /usr/local/share/vn-fonts/initcour.ps

Reported by:	pkg-fallout
2014-04-05 16:48:38 +00:00

39 lines
1.2 KiB
Makefile

# Created by: David O'Brien (obrien@cs.ucdavis.edu)
# $FreeBSD$
PORTNAME= vnlpr
PORTVERSION= 2.0
CATEGORIES= vietnamese print
MASTER_SITES= ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@FreeBSD.org
COMMENT= Shell script and set of fonts to print Vietnamese text on PostScript printer
BROKEN= Conflicts with dependency vnpstext on share/vn-fonts/initcour.ps
RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \
vnpstext:${PORTSDIR}/vietnamese/vnpstext
OPTIONS_DEFINE= DOCS
pre-patch:
@${MV} ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in
do-build:
${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 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.ps ${STAGEDIR}${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.gsf ${STAGEDIR}${PREFIX}/share/vn-fonts
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>