diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-04-30 15:17:27 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-04-30 15:17:27 +0000 |
commit | 7f3761a291ae137ca21f893e889265db9d36fa33 (patch) | |
tree | b5468af40c12e0276f37bc8b8b806099ee4de12c /print/xdvi | |
parent | a0bdea9d39f16bd6249b67c2aceae1a9d55d01bf (diff) | |
download | ports-7f3761a291ae137ca21f893e889265db9d36fa33.tar.gz ports-7f3761a291ae137ca21f893e889265db9d36fa33.zip |
Notes
Diffstat (limited to 'print/xdvi')
-rw-r--r-- | print/xdvi/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile index 7203a5ebc629..dc9c657e92f2 100644 --- a/print/xdvi/Makefile +++ b/print/xdvi/Makefile @@ -17,8 +17,10 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= jmz@FreeBSD.org COMMENT= A DVI Previewer for the X Window System +CONFLICTS= teTeX-* + DIST_SUBDIR= xdvi # to share distfiles with japanese/xdvi -USE_PERL5_BUILD=yes +USE_REINPLACE= yes USE_IMAKE= yes USE_GMAKE= yes XMKMF= xmkmf @@ -31,16 +33,16 @@ IS_INTERACTIVE= yes MAN1= xdvi.1 post-configure: - @${PERL} -pi -e "s=distclean::=distclean:=g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s=distclean::=distclean:=g" ${WRKSRC}/Makefile pre-install: - @if ${LS} /var/db/pkg/ | grep -qi ^tetex; then\ + @if ${LS} ${PKG_DBDIR} | 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 + for i in 1 2 3 4 5; do ${ECHO} -n ; sleep 1; done; fi do-install: @${MKDIR} ${PREFIX}/man/man1 |