diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/dvi2tty | |
parent | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff) | |
download | pkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/dvi2tty')
-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" |