blob: 83909f00f52198dded3de1cf06c7cbc152cd6837 (
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
44
45
|
# $NetBSD: Makefile,v 1.6 2001/02/16 14:38:58 wiz Exp $
#
DISTNAME= pwlib_min_1.1pl17
PKGNAME= pwlib-1.1pl17
CATEGORIES= devel
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= Portable Windows Libary
BUILD_DEPENDS= ${LOCALBASE}/bin/bison:../../devel/bison
DEPENDS+= unproven-pthreads>=0.17:../../devel/unproven-pthreads
WRKSRC= ${WRKDIR}/pwlib
USE_GMAKE= yes
USE_LIBTOOL= yes
pre-build:
-cd ${WRKSRC}; ${LN} -f -s .. share
do-build:
cd ${WRKSRC}; env PWLIBDIR=`pwd` ${GMAKE} opt
do-install:
cd ${WRKSRC}; env PWLIBDIR=`pwd` ${GMAKE} install;
${MKDIR} ${PREFIX}/include/ptclib ${PREFIX}/include/ptlib/unix/ptlib
cd ${WRKSRC}/include; for f in `find . -name CVS -prune -o -type f -print` ; \
do ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/`dirname $$f`; done
${MKDIR} ${PREFIX}/share/pwlib/make
cd ${WRKSRC}/make; for f in unix.mak common.mak lib.mak ptlib.mak ; \
do ${BSD_INSTALL_DATA} $$f ${PREFIX}/share/pwlib/make; done
.include "../../mk/bsd.pkg.mk"
|