summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-04-30 15:17:27 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-04-30 15:17:27 +0000
commit7f3761a291ae137ca21f893e889265db9d36fa33 (patch)
treeb5468af40c12e0276f37bc8b8b806099ee4de12c /print
parentUnbreak: mat@ fixed the dependency causing the build-errors on -STABLE. (diff)
- 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')
-rw-r--r--print/xdvi/Makefile10
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