1995-04-15 04:34:11 +00:00
|
|
|
# New ports collection makefile for: dvi2xx
|
|
|
|
# Version required: 0.51alpha9
|
|
|
|
# Date created: 14 October 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1996-11-18 14:17:24 +00:00
|
|
|
# $Id: Makefile,v 1.11 1996/11/17 08:44:25 obrien Exp $
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
|
|
|
|
1994-10-14 04:10:03 +00:00
|
|
|
DISTNAME= dvi2xx
|
1995-04-15 04:34:11 +00:00
|
|
|
PKGNAME= dvi2xx-0.51a9
|
1994-10-14 04:10:03 +00:00
|
|
|
DISTFILES= dvi2xx.tar.gz
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1994-10-14 04:10:03 +00:00
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.ORG
|
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= dvi2xx.1
|
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
#other equivalent sites: ftp.shsu.edu ftp.dante.de
|
|
|
|
CTAN?= ftp.tex.ac.uk
|
1994-10-14 04:10:03 +00:00
|
|
|
|
1996-07-04 21:59:26 +00:00
|
|
|
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)
|
1995-01-27 07:33:42 +00:00
|
|
|
|
1995-11-15 03:31:36 +00:00
|
|
|
|
1994-10-14 04:10:03 +00:00
|
|
|
pre-install:
|
1996-11-17 08:45:20 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/dvi2xx
|
1994-10-14 04:10:03 +00:00
|
|
|
@(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>
|