1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net/openh323/Makefile
Rong-En Fan 37f65a80c2 - Install version.h to DATADIR, some ports' configure script looks this
file, for example, the newer version of asterisk.

PR:		ports/114613
Submitted by:	viper <viper at perm.raid.ru>
Approved by:	Steve Ames <steve at energistic.com> (maintainer)
2007-07-26 17:31:52 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: openh323
# Date created: Thu Feb 17 15:00:48 GMT 2000
# Whom: Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= openh323
PORTVERSION= 1.18.0
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.voxgratia.org/releases/
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src-
EXTRACT_SUFX= tar.gz
MAINTAINER= steve@energistic.com
COMMENT= A H323 Video Conferencing library
LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib
WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g}
USE_BISON= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
ALL_TARGET= optshared
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
MAKE_ENV= BUILDTIME="YES"
.include <bsd.port.pre.mk>
.ifdef (WITH_FFMPEG)
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
CONFIGURE_ARGS+= --enable-rfc2190avcodec=${LOCALBASE}/include/ffmpeg
.endif
.ifdef (WITH_SPEEX)
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
CONFIGURE_ARGS+= --enable-localspeex=no
.else
CONFIGURE_ARGS+= --enable-localspeex=yes
.endif
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>