summaryrefslogtreecommitdiff
path: root/multimedia/ming/Makefile
diff options
context:
space:
mode:
authorobache <obache>2008-02-13 11:49:44 +0000
committerobache <obache>2008-02-13 11:49:44 +0000
commit7315284b5d82a6116b67573b3cdfc38c6b2a1b1c (patch)
tree854c991126ddae1eb53610820593282712bee6f1 /multimedia/ming/Makefile
parent3fbf5e6e3b9a0de63f1aaf945ccbac9457e36087 (diff)
downloadpkgsrc-7315284b5d82a6116b67573b3cdfc38c6b2a1b1c.tar.gz
Add DESTDIR support.
Diffstat (limited to 'multimedia/ming/Makefile')
-rw-r--r--multimedia/ming/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/ming/Makefile b/multimedia/ming/Makefile
index 2bb3f32574f..4055eb4a4df 100644
--- a/multimedia/ming/Makefile
+++ b/multimedia/ming/Makefile
@@ -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 @@ MAINTAINER= obache@NetBSD.org
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"