diff options
Diffstat (limited to 'net/asterisk12/Makefile')
-rw-r--r-- | net/asterisk12/Makefile | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile deleted file mode 100644 index 10d4cd2b786f..000000000000 --- a/net/asterisk12/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -# New ports collection makefile for: asterisk -# Date created: 17 October 2003 -# Whom: Maxim Sobolev <sobomax@portaone.com> -# -# $FreeBSD$ -# - -PORTNAME= asterisk -PORTVERSION= 1.2.4 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ - http://ftp.digium.com/pub/asterisk/old-releases/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/ \ - ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/ - -MAINTAINER= sobomax@FreeBSD.org -COMMENT= An Open Source PBX and telephony toolkit - -PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz -PATCH_SITES= http://www.portaone.com/~bamby/public/ - -BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \ - newt.51:${PORTSDIR}/devel/newt \ - curl.3:${PORTSDIR}/ftp/curl -RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 - -ONLY_FOR_ARCHS= i386 sparc64 amd64 - -GNU_CONFIGURE= yes -CONFIGURE_WRKSRC= ${WRKSRC}/editline -USE_GMAKE= yes -USE_BISON= yes -USE_RC_SUBR= asterisk.sh -USE_REINPLACE= yes -MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" \ - MKDIR="${MKDIR}" \ - PWLIBDIR=${PWLIBDIR} \ - OPENH323DIR=${OPENH323DIR} \ - OSVERSION=${OSVERSION} \ - CXX="${CXX}" - -MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8 - -.include <bsd.port.pre.mk> - -PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib152; make -V WRKSRC -OPENH323DIR!= cd ${PORTSDIR}/net/openh323-112; make -V WRKSRC - -.if ${ARCH} != "i386" -WITHOUT_H323= 1 -WITHOUT_ZAPTEL= 1 -.endif - -.if defined(WITHOUT_H323) -PLIST_SUB+= WITH_H323="@comment " -.else -BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/pwlib152:build \ - ${NONEXISTENT}:${PORTSDIR}/net/openh323-112:build -PLIST_SUB+= WITH_H323="" -MAKE_ENV+= WITH_H323=1 -.endif - -.if defined(WITHOUT_ZAPTEL) -PLIST_SUB+= WITH_ZAPTEL="@comment " -MAKE_ENV+= WITHOUT_ZAPTEL=1 -.else -BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \ - ${LOCALBASE}/include/zaptel.h:${PORTSDIR}/misc/zaptel -LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri -RUN_DEPENDS+= ${LOCALBASE}/include/zaptel.h:${PORTSDIR}/misc/zaptel -PLIST_SUB+= WITH_ZAPTEL="" -MAKE_ENV+= WITH_ZAPTEL=1 -.endif - -# -# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV -# similarly -.if defined(WITHOUT_ODBC) -PLIST_SUB+= WITH_ODBC="@comment " -.else -LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -PLIST_SUB+= WITH_ODBC="" -MAKE_ENV+= WITH_ODBC=1 -.endif - -.if defined(WITHOUT_FAX) -PLIST_SUB+= WITH_FAX="@comment " -.else -MAKE_ENV+= WITH_FAX=1 -LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp -PLIST_SUB+= WITH_FAX="" -.endif - -.if ${OSVERSION} >= 500036 -PLIST_SUB+= NEWGCC="" -.else -PLIST_SUB+= NEWGCC="@comment " -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample - -.include <bsd.port.post.mk> |