aboutsummaryrefslogtreecommitdiffstats
path: root/print/xdvi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/xdvi/Makefile')
-rw-r--r--print/xdvi/Makefile12
1 files changed, 12 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