diff options
Diffstat (limited to 'converters/dvi2tty/Makefile')
-rw-r--r-- | converters/dvi2tty/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/converters/dvi2tty/Makefile b/converters/dvi2tty/Makefile index 2130e35d066..0b90fc7d281 100644 --- a/converters/dvi2tty/Makefile +++ b/converters/dvi2tty/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/12/12 20:42:30 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 05:51:08 jlam Exp $ # DISTNAME= dvi2tty @@ -12,6 +12,8 @@ COMMENT= Program for previewing DVI files LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 @@ -25,7 +27,7 @@ pre-patch: do-install: ${INSTALL_PROGRAM} \ - ${WRKSRC}/disdvi ${WRKSRC}/dvi2tty ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${PREFIX}/${PKGMANDIR}/man1 + ${WRKSRC}/disdvi ${WRKSRC}/dvi2tty ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dvi2tty.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |