2006-07-30 21:21:10 +00:00
|
|
|
# New ports collection makefile for: twinkle
|
|
|
|
# Date created: 2006-04-22
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= twinkle
|
2007-03-03 15:38:23 +00:00
|
|
|
PORTVERSION= 1.0
|
2007-07-04 15:10:58 +00:00
|
|
|
PORTREVISION= 2
|
2006-07-30 21:21:10 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.xs4all.nl/~mfnboer/twinkle/download/
|
|
|
|
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
|
|
COMMENT= Soft phone for your VoIP communcations using the SIP protocol
|
|
|
|
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
2006-10-05 06:35:29 +00:00
|
|
|
LIB_DEPENDS= ccgnu2-1.5.0:${PORTSDIR}/devel/commoncpp \
|
|
|
|
ccrtp1-1.5.0:${PORTSDIR}/devel/ccrtp \
|
2006-07-30 21:21:10 +00:00
|
|
|
sndfile.1:${PORTSDIR}/audio/libsndfile \
|
2007-07-04 15:10:58 +00:00
|
|
|
boost_regex.4:${PORTSDIR}/devel/boost \
|
2007-03-05 21:41:56 +00:00
|
|
|
speex.1:${PORTSDIR}/audio/speex \
|
2006-10-05 06:35:29 +00:00
|
|
|
ilbc.0:${PORTSDIR}/net/ilbc \
|
|
|
|
zrtpcpp-0.9.0:${PORTSDIR}/devel/libzrtpcpp
|
2006-07-30 21:21:10 +00:00
|
|
|
|
|
|
|
USE_GCC= 3.4+
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BISON= yes
|
|
|
|
USE_GMAKE= yes
|
2006-12-28 21:23:51 +00:00
|
|
|
USE_XLIB= yes
|
2006-07-30 21:21:10 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
USE_QT_VER= 3
|
|
|
|
|
2007-02-13 00:16:29 +00:00
|
|
|
CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX} QTDIR=${LOCALBASE}
|
2006-07-30 21:21:10 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-12-28 21:23:51 +00:00
|
|
|
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" \
|
2006-07-30 21:21:10 +00:00
|
|
|
CFLAGS="${CFLAGS}"
|
2007-02-13 00:16:29 +00:00
|
|
|
MAKE_ENV= QTDIR=${QT_PREFIX}
|
2006-07-30 21:21:10 +00:00
|
|
|
|
|
|
|
QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-03-03 15:38:23 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|-lresolv||g' -e 's|-lbind||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2006-07-30 21:21:10 +00:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|-lresolv||g' ${WRKSRC}/src/gui/${MAKEFILE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|