diff options
author | cheusov <cheusov@pkgsrc.org> | 2011-09-08 19:29:35 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2011-09-08 19:29:35 +0000 |
commit | 8825f85a3ca096419d76159a120c16c1b0653dd8 (patch) | |
tree | 2a5174eafa23c2457b96529b8b4498dc28d06204 /print/acroread5 | |
parent | c31486f0794aa5746c38492eb0828a299f6da719 (diff) | |
download | pkgsrc-8825f85a3ca096419d76159a120c16c1b0653dd8.tar.gz |
PR 45339. Fix for USE_DESTDIR=no
Diffstat (limited to 'print/acroread5')
-rw-r--r-- | print/acroread5/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index c209a3532ff..d0b8c57ac4c 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2011/09/06 21:08:09 cheusov Exp $ +# $NetBSD: Makefile,v 1.43 2011/09/08 19:29:35 cheusov Exp $ DISTNAME= acroread5 # overridden below PKGNAME= acroread5-5.10 @@ -54,10 +54,12 @@ do-install: @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt" +.if !empty(DESTDIR) SUBST_CLASSES+= rmdestdir SUBST_STAGE.rmdestdir= post-install SUBST_FILES.rmdestdir= ${DESTDIR}${PREFIX}/bin/acroread5 SUBST_FILES.rmdestdir= ${DESTDIR}${PREFIX}/Acrobat5/bin/acroread SUBST_SED.rmdestdir= -e 's,${DESTDIR},,g' +.endif .include "../../mk/bsd.pkg.mk" |