diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | c2f2c30967ebdcd9120a391abfb655a190302a51 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/dvi2tty | |
parent | e86a3ba39061980160972e0fd2948b67acb7f5af (diff) | |
download | pkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.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" |