diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-14 04:10:03 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-14 04:10:03 +0000 |
commit | 595a0f47cd2fe1124dc14e5a48a1ca7880fc5502 (patch) | |
tree | 08b30e3f68b983859fec201902142100635650b1 /print/dvi2xx/Makefile | |
parent | 5f026190c63626c1d89c2a742e9359d8598ca243 (diff) |
Jeam-Marc Zucconi's dvi2xx port - prints .dvi files to HP LaserJet or
IBM 3812.
Submitted by: jmz
Notes
Notes:
svn path=/head/; revision=230
Diffstat (limited to 'print/dvi2xx/Makefile')
-rw-r--r-- | print/dvi2xx/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/print/dvi2xx/Makefile b/print/dvi2xx/Makefile new file mode 100644 index 000000000000..d5225cdb2f7b --- /dev/null +++ b/print/dvi2xx/Makefile @@ -0,0 +1,37 @@ +DISTNAME= dvi2xx +DISTFILES= dvi2xx.tar.gz + +#other equivalent sites: ftp.shsu.edu dtp.dante.de +CTAN= ftp.tex.ac.uk +FTP_DIR= /tex-archive/dviware +FTPGET= ${WRKDIR}/ftpget + +pre-fetch: + @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi + @mkdir -p ${WRKDIR} + @${SCRIPTDIR}/ftpget magic ${WRKDIR} + +fetch: pre-fetch ${DISTFILES} + +dvi2xx.tar.gz: + @(cd ${DISTDIR}; if [ ! -f $@ ]; then \ + echo ">> $@ doesn't seem to exist on this system."; \ + echo ">> Attempting to fetch it from a master site."; \ + ${FTPGET} ${CTAN} ${FTP_DIR} $@ $@ ;\ + if [ ! -f $@ ]; then \ + echo ">> Couldn't fetch it - please try to retrieve this";\ + echo ">> port manually into ${DISTDIR} and try again."; \ + exit 1; \ + else \ + echo ">> $@ Fetched!" ; \ + fi; fi) + +pre-install: + @mkdir -p ${PREFIX}/bin + @mkdir -p ${PREFIX}/man/man1 + @mkdir -p ${PREFIX}/lib/dvi2xx + @(cd ${WRKSRC}; install -m 755 -c MakeTeXPK ${PREFIX}/bin) + @(cd ${WRKSRC}; install -c -m 644 2up.sty graybox.sty lj3-filter \ + printcap.sample sample2.tex testpage.tex ${PREFIX}/lib/dvi2xx/) + +.include <bsd.port.mk> |