aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1996-12-28 00:34:53 +0800
committerjmz <jmz@FreeBSD.org>1996-12-28 00:34:53 +0800
commit9bd8b5f36ef49822143a5f278d730ae5a9f662ec (patch)
tree48c04cb1d2093e3037ec91a33540d94f0265a7cf
parentb7c851427d27af92151c673a66d070202c22f9ac (diff)
downloadfreebsd-ports-gnome-9bd8b5f36ef49822143a5f278d730ae5a9f662ec.tar.gz
freebsd-ports-gnome-9bd8b5f36ef49822143a5f278d730ae5a9f662ec.tar.zst
freebsd-ports-gnome-9bd8b5f36ef49822143a5f278d730ae5a9f662ec.zip
Remove the private do-fetch target.
Use the MASTER_SITE_TEX_CTAN variable.
-rw-r--r--print/dvi2xx/Makefile28
1 files changed, 3 insertions, 25 deletions
diff --git a/print/dvi2xx/Makefile b/print/dvi2xx/Makefile
index cf40b9181269..3e96040725f7 100644
--- a/print/dvi2xx/Makefile
+++ b/print/dvi2xx/Makefile
@@ -3,43 +3,21 @@
# Date created: 14 October 1994
# Whom: jmz
#
-# $Id: Makefile,v 1.12 1996/11/18 14:11:00 asami Exp $
+# $Id: Makefile,v 1.13 1996/12/17 12:33:37 asami Exp $
#
DISTNAME= dvi2xx
PKGNAME= dvi2xx-0.51a9
DISTFILES= dvi2xx.tar.gz
CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= dviware
MAINTAINER= jmz@FreeBSD.ORG
MAN1= dvi2xx.1
IGNOREFILES= ${DISTFILES}
-#other equivalent sites: ftp.shsu.edu ftp.dante.de
-CTAN?= ftp.tex.ac.uk
-
-do-fetch:
- @if [ ! -d ${DISTDIR} ]; then ${MKDIR} -p ${DISTDIR}; fi
- @(cd ${DISTDIR}; \
- if [ ! -f ${DISTFILES} -a ! -f `${BASENAME} ${DISTFILES}` ]; then \
- if [ -h ${DISTFILES} -o -h `${BASENAME} ${DISTFILES}` ]; then \
- ${ECHO_MSG} ">> ${DISTDIR}/${DISTFILES} is a broken symlink."; \
- ${ECHO_MSG} ">> Perhaps a filesystem (most likely a CD) isn't mounted?"; \
- ${ECHO_MSG} ">> Please correct this problem and try again."; \
- exit 1; \
- fi ; \
- ${ECHO_MSG} ">> ${DISTFILES} doesn't seem to exist on this system."; \
- ${ECHO_MSG} ">> Attempting to fetch from ${CTAN}."; \
- if ${FETCH_CMD} -h ${CTAN} -c /tex-archive/dviware -f ${DISTFILES}; then \
- exit 0; \
- fi; \
- ${ECHO_MSG} ">> Couldn't fetch it - please try to retreive this";\
- ${ECHO_MSG} ">> port manually into ${DISTDIR} and try again."; \
- exit 1; \
- fi)
-
-
pre-install:
@${MKDIR} ${PREFIX}/lib/dvi2xx
@(cd ${WRKSRC}; install -m 755 -c MakeTeXPK ${PREFIX}/bin)