diff options
author | obache <obache@pkgsrc.org> | 2011-03-21 13:29:44 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-21 13:29:44 +0000 |
commit | 535bf7cd87923ee9c7f7ec264f2dfca596c1fadb (patch) | |
tree | 01fa7a8f53cebee233c4c011eb732d10ad3f0654 /net/openh323 | |
parent | da20e07b52096c28b11d95f8f32171e7d561a91f (diff) | |
download | pkgsrc-535bf7cd87923ee9c7f7ec264f2dfca596c1fadb.tar.gz |
Add destdir installation support.
Diffstat (limited to 'net/openh323')
-rw-r--r-- | net/openh323/Makefile | 7 |
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 |