mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
104 lines
2.6 KiB
Makefile
104 lines
2.6 KiB
Makefile
# Created by: Valery Komarov <komarov@valerka.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yate
|
|
PORTVERSION= 6.1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://yate.null.ro/tarballs/yate6/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
|
|
|
|
MAINTAINER= koue@chaosophia.net
|
|
COMMENT= Yet Another Telephony Engine
|
|
|
|
LICENSE= GPLv2
|
|
|
|
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 sparc64
|
|
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
libspeex.so:audio/speex \
|
|
libgsm.so:audio/gsm
|
|
|
|
USES= autoreconf bison gmake shebangfix
|
|
USE_GCC= yes
|
|
SHEBANG_FILES= share/scripts/banbrutes.php \
|
|
share/scripts/leavemail.php \
|
|
share/scripts/queue_in.php \
|
|
share/scripts/queue_out.php \
|
|
share/scripts/route.php \
|
|
share/scripts/tts.sh \
|
|
share/scripts/voicemail.php
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-fdsize \
|
|
--without-libqt4 \
|
|
--with-zlib=/usr
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_RC_SUBR= yate
|
|
USERS= yate
|
|
GROUPS= yate
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= AMRNB DOCS DAHDI H323 ILBC MYSQL PGSQL SCTP SPANDSP SQLITE
|
|
OPTIONS_DEFAULT=SCTP
|
|
|
|
AMRNB_DESC= Adaptive Multi-Rate Narrowband support
|
|
DAHDI_DESC= Dahdi support
|
|
H323_DESC= H323 software channel/protocol support
|
|
ILBC_DESC= iLBC narrowband speech codec support
|
|
SCTP_DESC= Stream Control Transmission Protocol support
|
|
SPANDSP_DESC= Spandsp faxing support
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
AMRNB_CONFIGURE_WITH= amrnb=${LOCALBASE}
|
|
AMRNB_LIB_DEPENDS= libamrnb.so:audio/libamrnb
|
|
|
|
DAHDI_CONFIGURE_ENABLE= dahdi
|
|
DAHDI_BUILD_DEPENDS= libpri>=1.4.10:misc/libpri \
|
|
${LOCALBASE}/include/dahdi/user.h:misc/dahdi
|
|
DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \
|
|
libopenr2.so:misc/openr2
|
|
|
|
H323_CONFIGURE_WITH= openh323=${LOCALBASE}
|
|
H323_LIB_DEPENDS= libopenh323.so:net/h323plus \
|
|
libpt.so:devel/ptlib
|
|
|
|
ILBC_CONFIGURE_ENABLE= ilbc
|
|
ILBC_LIB_DEPENDS= libilbc.so:net/ilbc
|
|
|
|
MYSQL_CONFIGURE_WITH= mysql
|
|
MYSQL_USE= mysql=yes
|
|
MYSQL_USES= ssl
|
|
|
|
PGSQL_CONFIGURE_WITH= libpq=${LOCALBASE}
|
|
PGSQL_USES= pgsql
|
|
|
|
SCTP_CONFIGURE_ENABLE= sctp
|
|
|
|
SPANDSP_CONFIGURE_WITH= spandsp
|
|
SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp
|
|
|
|
SQLITE_CONFIGURE_WITH= sqlite
|
|
SQLITE_USES= pkgconfig sqlite
|
|
|
|
post-extract:
|
|
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yate
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libyate*.so.${PORTVERSION}
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/*.yate
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/radio/*.yate
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/sig/*.yate
|
|
.for dir in client server jabber sip
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/${dir}/*.yate
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|