mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix the build problem with XFree-4.x.
Add warnings about the conflicts with teTeX when it is installed. Submitted by: trevor
This commit is contained in:
parent
96bac6be62
commit
673f2a7f12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53489
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user