summaryrefslogtreecommitdiff
path: root/net/openh323
diff options
context:
space:
mode:
authorobache <obache>2011-03-21 13:29:44 +0000
committerobache <obache>2011-03-21 13:29:44 +0000
commit1847b080bf7a6e52573dc7247040c7896b7a08ed (patch)
tree01fa7a8f53cebee233c4c011eb732d10ad3f0654 /net/openh323
parent79a948954f6c9b33dca30ff0a6a23afd44d0ac83 (diff)
downloadpkgsrc-1847b080bf7a6e52573dc7247040c7896b7a08ed.tar.gz
Add destdir installation support.
Diffstat (limited to 'net/openh323')
-rw-r--r--net/openh323/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/openh323/Makefile b/net/openh323/Makefile
index 26aa444e8d1..13426421302 100644
--- a/net/openh323/Makefile
+++ b/net/openh323/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2011/01/01 05:09:17 obache Exp $
+# $NetBSD: Makefile,v 1.45 2011/03/21 13:29:44 obache Exp $
DISTNAME= openh323-v1_15_2-src
PKGNAME= openh323-1.15.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openh323.org/
COMMENT= Open H.323 library
+PKG_DESTDIR_SUPPORT= destdir
+
WRKSRC= ${WRKDIR}/openh323
USE_LANGUAGES= c c++
USE_TOOLS+= gmake tar
@@ -21,11 +23,12 @@ CONFIGURE_ARGS+= PWLIBDIR=${PREFIX:Q}
BUILD_TARGET= opt apps
MAKE_ENV+= PWLIBDIR=${PREFIX}/share/pwlib OPENH323DIR=${WRKSRC:Q}
MAKE_ENV+= SYSLIBDIR=${PREFIX}/lib
+INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}
MAKE_JOBS_SAFE= no
INSTALL_DIRS= src plugins samples/simple
-INSTALLATION_DIRS+= include/openh323 share/openh323
+INSTALLATION_DIRS+= bin include/openh323 lib share/openh323
post-patch:
cd ${WRKSRC}/include; ${LN} -s . openh323