06f82acff2
- don't redefine stuff we have in system headers tested on vax with --null-audio "looks sane" todd@
35 lines
756 B
Makefile
35 lines
756 B
Makefile
# $OpenBSD: Makefile,v 1.3 2007/11/06 02:50:28 deanna Exp $
|
|
|
|
COMMENT= lightweight sip client
|
|
|
|
DISTNAME= pjproject-0.7.0
|
|
PKGNAME= pjsua-0.7.0p1
|
|
CATEGORIES= telephony
|
|
|
|
HOMEPAGE= http://www.pjsip.org
|
|
MASTER_SITES= http://www.pjsip.org/release/0.7.0/
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
|
|
|
WANTLIB= c crypto m ossaudio pthread ssl
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
post-configure:
|
|
perl -pi -e's,%%LOCALBASE%%,${LOCALBASE},' \
|
|
${WRKSRC}/build/os-openbsd.mak
|
|
cd ${WRKSRC} && ${GMAKE} dep
|
|
|
|
CFLAGS+=-DNDEBUG
|
|
NO_REGRESS=Yes
|
|
|
|
do-install:
|
|
cp ${WRKSRC}/pjsip-apps/bin/pjsua* ${PREFIX}/bin/pjsua
|
|
|
|
.include <bsd.port.mk>
|