pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ming Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfed8082ee96
branches:  trunk
changeset: 538575:cfed8082ee96
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Feb 13 11:49:44 2008 +0000

description:
Add DESTDIR support.

diffstat:

 multimedia/ming/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r bb26f32eef93 -r cfed8082ee96 multimedia/ming/Makefile
--- a/multimedia/ming/Makefile  Wed Feb 13 11:09:01 2008 +0000
+++ b/multimedia/ming/Makefile  Wed Feb 13 11:49:44 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/09/13 15:53:51 obache Exp $
+# $NetBSD: Makefile,v 1.4 2008/02/13 11:49:44 obache Exp $
 #
 
 DISTNAME=              ming-0.3.0
@@ -9,10 +9,15 @@
 HOMEPAGE=              http://ming.sourceforge.net/
 COMMENT=               Create SWF (Macromedia Flash) files with this library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            bison flex
 GNU_CONFIGURE=         yes
 
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR:Q}${PREFIX:Q}
+INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/libungif/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index