summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1994-11-17 01:02:54 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1994-11-17 01:02:54 +0000
commit2f2acdd712287655691ac30ca0e7883a4ed9ff41 (patch)
tree0ec00e978d02860bec5c642b92c3e5204c554492 /print
parentAdd support for NO_WRKDIR. (diff)
Makefile: USE_INTERACTIVE defined, use ${PREFIX}, reflect changes in
bsd.port.mk configure: use ${PREFIX}
Notes
Notes: svn path=/head/; revision=392
Diffstat (limited to 'print')
-rw-r--r--print/xdvi/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile
index 1ada50b4a504..c078e471f461 100644
--- a/print/xdvi/Makefile
+++ b/print/xdvi/Makefile
@@ -3,20 +3,16 @@ DISTNAME= xdvi
MASTER_SITES= ftp://ftp.x.org/contrib/applications/
USE_IMAKE= yes
USE_GMAKE= yes
-
-DEST=/usr/local
-
-#gnu make required for 'make Makefiles'
-MAKE= ${GMAKE}
+IS_INTERACTIVE= yes
install:
@echo "===> Installing for ${DISTNAME}"
@mkdir -p /usr/local/man/man1
@mkdir -p /usr/local/bin
@(cd ${WRKSRC}; ${GMAKE} install.man \
- MANDIR=${DEST}/man/man1 MANSUFFIX=1)
+ MANDIR=${PREFIX}/man/man1 MANSUFFIX=1)
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} xdvi.man)
- @(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${DEST}/bin)
- @(cd ${WRKSRC}; install -c -m 755 -o bin MakeTeXPK ${DEST}/bin)
+ @(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${PREFIX}/bin)
+ @(cd ${WRKSRC}; install -c -m 755 -o bin MakeTeXPK ${PREFIX}/bin)
.include <bsd.port.mk>