2006-05-31 02:16:22 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2006/05/31 00:16:22 wiz Exp $
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2004-12-01 14:12:47 +01:00
|
|
|
DISTNAME= openh323-v1_15_2-src
|
|
|
|
PKGNAME= openh323-1.15.2
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2000-08-25 18:11:14 +02:00
|
|
|
CATEGORIES= net
|
2004-10-09 18:01:23 +02:00
|
|
|
MASTER_SITES= http://www.voxgratia.org/releases/
|
2004-12-01 14:12:47 +01:00
|
|
|
EXTRACT_SUFX= -tar.gz
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-08-25 18:11:14 +02:00
|
|
|
HOMEPAGE= http://www.openh323.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Open H.323 library
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2004-12-01 14:12:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}/openh323
|
2006-05-17 00:01:54 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-07-15 20:27:48 +02:00
|
|
|
USE_TOOLS+= gmake tar
|
2004-12-01 14:12:47 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= PWLIBDIR=${PREFIX:Q}
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= opt apps
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= PWLIBDIR=${PREFIX}/share/pwlib OPENH323DIR=${WRKSRC:Q}
|
2004-12-01 14:12:47 +01:00
|
|
|
MAKE_ENV+= SYSLIBDIR=${PREFIX}/lib
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2002-12-03 22:48:17 +01:00
|
|
|
post-patch:
|
2004-10-09 18:01:23 +02:00
|
|
|
cd ${WRKSRC}/include; ${LN} -s . openh323
|
2002-12-03 22:48:17 +01:00
|
|
|
|
|
|
|
# override the openh323 install - it uses cp -d, and isn't libtool-aware
|
|
|
|
do-install:
|
2004-10-09 18:01:23 +02:00
|
|
|
cd ${WRKSRC}/src; ${MAKE_ENV} ${GMAKE} install
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/openh323
|
|
|
|
cd ${WRKSRC}/include; \
|
2004-01-11 20:41:39 +01:00
|
|
|
for f in \*.h ; \
|
2002-12-03 22:48:17 +01:00
|
|
|
do ${INSTALL_DATA} $$f ${PREFIX}/include/openh323; done
|
2004-10-09 18:01:23 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} version.h ${PREFIX}/include/openh323
|
|
|
|
cd ${WRKSRC}/samples/simple; ${MAKE_ENV} ${GMAKE} install
|
2004-12-01 14:12:47 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/openh323
|
2004-10-09 18:01:23 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} openh323u.mak ${PREFIX}/share/openh323
|
|
|
|
cd ${WRKSRC}/plugins; ${GMAKE} install
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2004-05-08 08:41:33 +02:00
|
|
|
.include "../../devel/pwlib/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2000-08-25 18:11:14 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|