aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-01-22 04:17:56 +0800
committerjmz <jmz@FreeBSD.org>2002-01-22 04:17:56 +0800
commitda394519268772cb0cf40663297ade97f6ca1b82 (patch)
treef311171d0c2cb1e0ab81192475aea9aab25af00d
parent7b9a8f08bb790e3eb2586ee649408605eb96678b (diff)
downloadfreebsd-ports-gnome-da394519268772cb0cf40663297ade97f6ca1b82.tar.gz
freebsd-ports-gnome-da394519268772cb0cf40663297ade97f6ca1b82.tar.zst
freebsd-ports-gnome-da394519268772cb0cf40663297ade97f6ca1b82.zip
Fix the build problem with XFree-4.x.
Add warnings about the conflicts with teTeX when it is installed. Submitted by: trevor
-rw-r--r--print/xdvi/Makefile12
-rw-r--r--print/xdvi/pkg-descr2
2 files changed, 14 insertions, 0 deletions
diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile
index 6055c067280e..e35f64cabb1b 100644
--- a/print/xdvi/Makefile
+++ b/print/xdvi/Makefile
@@ -27,6 +27,18 @@ IS_INTERACTIVE= yes
MAN1= xdvi.1
+post-configure:
+ @${PERL} -pi -e "s=distclean::=distclean:=g" ${WRKSRC}/Makefile
+
+pre-install:
+ @if ls /var/db/pkg/ | grep -qi ^tetex; then\
+ ${ECHO_MSG} "*** WARNING ***";\
+ ${ECHO_MSG} "This port conflicts with teTeX! If you have already installed";\
+ ${ECHO_MSG} "teTeX, you may want to backup the xdvi and MakeTeXPK commands.";\
+ ${ECHO};\
+ ${ECHO_MSG} "To cancel or suspend installation, press control-C or control-Z.";\
+ for i in 1 2 3 4 5; do ${ECHO} -n ; sleep 1; done; fi
+
do-install:
@${MKDIR} ${PREFIX}/man/man1
@${MKDIR} ${PREFIX}/bin
diff --git a/print/xdvi/pkg-descr b/print/xdvi/pkg-descr
index 9b0d5365d536..60288cd1e609 100644
--- a/print/xdvi/pkg-descr
+++ b/print/xdvi/pkg-descr
@@ -7,3 +7,5 @@ keystrokes to move within the file, xdvi provides buttons on the right
side of the window, which are synonymous with various sequences of
keystrokes. xdvi is also able to show PostScript<tm> specials if
Ghostscript is installed on your system.
+
+The commands from this port overwrite those from teTeX.