summaryrefslogtreecommitdiff
path: root/devel/ptlib
diff options
context:
space:
mode:
authorobache <obache>2009-01-30 08:18:45 +0000
committerobache <obache>2009-01-30 08:18:45 +0000
commitc5c0cd74c109490d89ab0dafae3e852c8904fbc5 (patch)
tree578995839e761b0ecd63fc2a05a1bad0e7d80677 /devel/ptlib
parent6106e3e87acc8d142cefb5bdccf4884fa7385a69 (diff)
downloadpkgsrc-c5c0cd74c109490d89ab0dafae3e852c8904fbc5.tar.gz
* convert manual dependency of bison to USE_TOOLS.
* requirement of tar is came from ancient custom do-extract target, removed. * add DESTDIR support to ptlib.
Diffstat (limited to 'devel/ptlib')
-rw-r--r--devel/ptlib/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile
index 591f2d1d63e..4365f6f409d 100644
--- a/devel/ptlib/Makefile
+++ b/devel/ptlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/01/13 02:19:10 jmcneill Exp $
+# $NetBSD: Makefile,v 1.6 2009/01/30 08:18:45 obache Exp $
DISTNAME= ptlib-2.4.4
CATEGORIES= devel
@@ -9,11 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ekiga.net/
COMMENT= Portable Windows Libary
-CONFLICTS+= pwlib-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+CONFLICTS+= pwlib-[0-9]*
-USE_TOOLS+= gmake tar pkg-config
+USE_TOOLS+= bison gmake pkg-config
BUILD_TARGET= optshared
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
@@ -34,7 +34,7 @@ CONFIGURE_ARGS+= --disable-dc
PTHREAD_OPTS+= require
post-install:
- ${INSTALL_DATA} ${WRKSRC}/version.h ${PREFIX}/share/ptlib
+ ${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/share/ptlib
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"