diff options
author | vs <vs@FreeBSD.org> | 2004-04-30 23:17:27 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-04-30 23:17:27 +0800 |
commit | 3178e296776bd67943117c67715d8ec9402573a4 (patch) | |
tree | becbd14603d30b307e519a5fbc0660032214dc09 /print/xdvi | |
parent | 85baa5afb046f0f9b3b525477235ee5c61041178 (diff) | |
download | freebsd-ports-gnome-3178e296776bd67943117c67715d8ec9402573a4.tar.gz freebsd-ports-gnome-3178e296776bd67943117c67715d8ec9402573a4.tar.zst freebsd-ports-gnome-3178e296776bd67943117c67715d8ec9402573a4.zip |
- PERL -> REINPLACE
- Add CONFLICTS with teTeX
- Use PKGDBDIR instead of literal
- Pet portlint
OK'ed by: jmz
Approved by: linimon (implicit)
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 |