summaryrefslogtreecommitdiff
path: root/net/openh323/Makefile
blob: b9280c9a3373e0c18adfc56c6d6caeba9f23cf29 (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.9 2002/12/02 15:14:08 wiz Exp $
#

DISTNAME=	openh323_1.1beta3
PKGNAME=	openh323-1.1beta3
CATEGORIES=	net
MASTER_SITES=	http://www.openh323.org/bin/ \
		http://www.au.openh323.org/bin/ \
		http://www.au2.openh323.org/bin/ \
		http://www.us1.openh323.org/bin/ \
		http://www.us2.openh323.org/bin/ \
		http://www.ru.openh323.org/bin/ \
		http://www.de.openh323.org/bin/ \
		http://www.at.openh323.org/bin/ \
		http://www.cz.openh323.org/bin/ \
		http://www.pl.openh323.org/bin/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.openh323.org/
COMMENT=	Open H.323 library

DEPENDS=	pwlib>=1.1:../../devel/pwlib

WRKSRC=		${WRKDIR}/openh323

MAKE_ENV+=	PWLIBDIR=${PREFIX} OPENH323DIR=${WRKSRC}

USE_GMAKE=	yes
USE_LIBTOOL=	yes
ALL_TARGET=	opt

BROKEN=		Package has problems with libtool and pthreads

pre-build:
		-${MKDIR} ${WRKSRC}/lib; cd ${WRKSRC}/lib; ${LN} -s ${PREFIX}/lib/libpt.la

post-install:
		cd ${WRKSRC}/include; for f in \*.h ; \
			do ${INSTALL_DATA} $$f ${PREFIX}/include; done
		-${INSTALL_DATA_DIR} ${PREFIX}/share/openh323
		cd ${WRKSRC}; ${INSTALL_DATA} openh323u.mak ${PREFIX}/share/openh323

.include "../../mk/bsd.pkg.mk"