blob: 0a578f790928effd67b5e0e6f366783d878cac43 (
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
46
|
# $NetBSD: Makefile,v 1.9 2001/03/27 03:19:53 hubertf 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= 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;
${INSTALL_DATA_DIR} ${PREFIX}/include/ptclib ${PREFIX}/include/ptlib/unix/ptlib
cd ${WRKSRC}/include; \
for f in `find . -name CVS -prune -o -type f ! -name "*.orig" -print` ; \
do ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/`dirname $$f`; done
${INSTALL_DATA_DIR} ${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"
|