e32afb6fea
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $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"
|