blob: 494d81d5decb63185e9a93a57108026bac71f98e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.40 2008/01/18 05:08:47 tnn Exp $
DISTNAME= openh323-v1_15_2-src
PKGNAME= openh323-1.15.2
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.voxgratia.org/releases/
EXTRACT_SUFX= -tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openh323.org/
COMMENT= Open H.323 library
WRKSRC= ${WRKDIR}/openh323
USE_LANGUAGES= c c++
USE_TOOLS+= gmake tar
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= PWLIBDIR=${PREFIX:Q}
BUILD_TARGET= opt apps
MAKE_ENV+= PWLIBDIR=${PREFIX}/share/pwlib OPENH323DIR=${WRKSRC:Q}
MAKE_ENV+= SYSLIBDIR=${PREFIX}/lib
post-patch:
cd ${WRKSRC}/include; ${LN} -s . openh323
# override the openh323 install - it uses cp -d, and isn't libtool-aware
do-install:
cd ${WRKSRC}/src; ${MAKE_ENV} ${GMAKE} install
${INSTALL_DATA_DIR} ${PREFIX}/include/openh323
cd ${WRKSRC}/include; \
for f in \*.h ; \
do ${INSTALL_DATA} $$f ${PREFIX}/include/openh323; done
cd ${WRKSRC}; ${INSTALL_DATA} version.h ${PREFIX}/include/openh323
cd ${WRKSRC}/samples/simple; ${MAKE_ENV} ${GMAKE} install
${INSTALL_DATA_DIR} ${PREFIX}/share/openh323
cd ${WRKSRC}; ${INSTALL_DATA} openh323u.mak ${PREFIX}/share/openh323
cd ${WRKSRC}/plugins; ${GMAKE} install
.include "../../devel/pwlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|