diff options
Diffstat (limited to 'print/dvi2xx')
-rw-r--r-- | print/dvi2xx/Makefile | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/print/dvi2xx/Makefile b/print/dvi2xx/Makefile index 8fecb8029fa5..da1771e55250 100644 --- a/print/dvi2xx/Makefile +++ b/print/dvi2xx/Makefile @@ -3,7 +3,7 @@ # Date created: 14 October 1994 # Whom: jmz # -# $Id$ +# $Id: Makefile,v 1.5 1995/04/15 04:33:39 asami Exp $ # DISTNAME= dvi2xx @@ -11,32 +11,13 @@ PKGNAME= dvi2xx-0.51a9 DISTFILES= dvi2xx.tar.gz CATEGORIES+= printing -.if !defined(MASTER_SITE_OVERRIDE) #other equivalent sites: ftp.shsu.edu dtp.dante.de CTAN= ftp.tex.ac.uk -FTP_DIR= /tex-archive/dviware -FTPGET= ${WRKDIR}/ftpget +FTPGET= ${FILESDIR}/ftpget -pre-fetch: - @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi - @mkdir -p ${WRKDIR} - @${SCRIPTDIR}/ftpget magic ${WRKDIR} - -fetch: pre-fetch ${DISTFILES} -.endif 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) + @${FTPGET} ${CTAN} /tex-archive/dviware dvi2xx.tar.gz ${DISTDIR}/$@ pre-install: @mkdir -p ${PREFIX}/bin @@ -46,4 +27,6 @@ pre-install: @(cd ${WRKSRC}; install -c -m 644 2up.sty graybox.sty lj3-filter \ printcap.sample sample2.tex testpage.tex ${PREFIX}/lib/dvi2xx/) +.include "Makefile.inc" + .include <bsd.port.mk> |