diff options
author | jmz <jmz@FreeBSD.org> | 1995-04-18 14:02:57 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-04-18 14:02:57 +0000 |
commit | 895b18fcb03ed7980d0468ca23a9ea7e8d03d7e7 (patch) | |
tree | f5f0710b0d28f2ae864b9c20a23d8fe9c235817e /print | |
parent | b80b4cd81e43b3e2918f1a3b2219b13316a3c22d (diff) | |
download | FreeBSD-ports-895b18fcb03ed7980d0468ca23a9ea7e8d03d7e7.zip FreeBSD-ports-895b18fcb03ed7980d0468ca23a9ea7e8d03d7e7.tar.gz |
General cleanup:
Put the fetch target in Makefile.inc, remove pre-fetch target.
Split scripts/ftpget into files/ftpget and files/ftplib.pl
Diffstat (limited to 'print')
-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 8fecb80..da1771e 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> |