2016-03-05 12:27:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.49 2016/03/05 11:27:52 jperkin 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
|
2016-03-05 12:27:40 +01:00
|
|
|
PKGREVISION= 6
|
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
|
2012-10-01 01:25:18 +02:00
|
|
|
HOMEPAGE= #http://www.h323plus.org/
|
|
|
|
#successor 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
|
|
|
|
2011-03-21 14:29:44 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
|
|
|
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
|
2011-03-21 14:29:44 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}
|
2000-08-25 18:11:14 +02:00
|
|
|
|
2009-01-30 07:22:44 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2010-02-11 23:24:33 +01:00
|
|
|
INSTALL_DIRS= src plugins samples/simple
|
2011-03-21 14:29:44 +01:00
|
|
|
INSTALLATION_DIRS+= bin include/openh323 lib share/openh323
|
2010-02-11 23:24:33 +01: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
|
2011-01-01 06:09:17 +01:00
|
|
|
post-install:
|
2010-02-11 23:24:33 +01:00
|
|
|
for f in ${WRKSRC}/include/*.h ; do \
|
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/include/openh323; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/include/openh323
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/openh323u.mak ${DESTDIR}${PREFIX}/share/openh323
|
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"
|