1994-10-14 04:10:03 +00:00
|
|
|
DISTNAME= dvi2xx
|
|
|
|
DISTFILES= dvi2xx.tar.gz
|
|
|
|
|
1995-02-13 00:10:51 +00:00
|
|
|
.if !defined(MASTER_SITE_OVERRIDE)
|
1994-10-14 04:10:03 +00:00
|
|
|
#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}
|
1995-02-13 00:10:51 +00:00
|
|
|
.endif
|
1994-10-14 04:10:03 +00:00
|
|
|
|
|
|
|
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)
|
1995-01-27 07:33:42 +00:00
|
|
|
|
1994-10-14 04:10:03 +00:00
|
|
|
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>
|