aboutsummaryrefslogtreecommitdiff
path: root/print/dvi2xx
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-18 14:02:57 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-04-18 14:02:57 +0000
commit9adc029bfbd0f36a4fc7a777ae73f887e8697456 (patch)
tree1b5ab721374163724ad47576db39bd049156a01e /print/dvi2xx
parent963090c1f407ffa80d952559dc30ace00816bf5c (diff)
downloadports-9adc029bfbd0f36a4fc7a777ae73f887e8697456.tar.gz
ports-9adc029bfbd0f36a4fc7a777ae73f887e8697456.zip
Notes
Diffstat (limited to 'print/dvi2xx')
-rw-r--r--print/dvi2xx/Makefile27
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>