diff options
author | cheusov <cheusov> | 2011-09-08 19:29:35 +0000 |
---|---|---|
committer | cheusov <cheusov> | 2011-09-08 19:29:35 +0000 |
commit | dd4f1f17d4c90b6c31bd0037420a9fc0a6b76da0 (patch) | |
tree | 2a5174eafa23c2457b96529b8b4498dc28d06204 /print | |
parent | 78fe78c7f89caa3e7accf6a11bfc840b954064ee (diff) | |
download | pkgsrc-dd4f1f17d4c90b6c31bd0037420a9fc0a6b76da0.tar.gz |
PR 45339. Fix for USE_DESTDIR=no
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread/Makefile | 4 | ||||
-rw-r--r-- | print/acroread5/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile index 6bde2762b6c..e9f3ae5efb5 100644 --- a/print/acroread/Makefile +++ b/print/acroread/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2011/09/06 21:08:09 cheusov Exp $ +# $NetBSD: Makefile,v 1.58 2011/09/08 19:29:35 cheusov Exp $ DISTNAME= acroread # overridden below PKGNAME= acroread-4.05 @@ -80,10 +80,12 @@ do-install: done .endif +.if !empty(DESTDIR) SUBST_CLASSES+= rmdestdir SUBST_STAGE.rmdestdir= post-install SUBST_FILES.rmdestdir= ${DESTDIR}${PREFIX}/bin/acroread4 SUBST_FILES.rmdestdir+= ${DESTDIR}${PREFIX}/Acrobat4/bin/acroread SUBST_SED.rmdestdir= -e 's,${DESTDIR},,g' +.endif .include "../../mk/bsd.pkg.mk" 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" |