summaryrefslogtreecommitdiff
path: root/net/openh323/Makefile
blob: 0d1e1a77c7d32066017aaa73bcf71b4e357a2e96 (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
# $NetBSD: Makefile,v 1.2 2000/08/28 21:05:05 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/

DEPENDS=	pwlib-1.1pl17:../../devel/pwlib

WRKSRC=		${WRKDIR}/openh323

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

USE_GMAKE=	yes
USE_LIBTOOL=	yes

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

do-build:
		cd ${WRKSRC}; ${GMAKE} opt

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

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