2014-08-28 14:19:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uTox
|
2015-11-26 14:35:09 +01:00
|
|
|
DISTVERSION= 0.4.4.20151120
|
2014-08-28 14:19:12 +02:00
|
|
|
CATEGORIES= net-im net-p2p
|
|
|
|
|
|
|
|
MAINTAINER= fidaj@ukr.net
|
|
|
|
COMMENT= Lightweight Tox client
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox \
|
|
|
|
${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
|
2014-10-07 20:28:27 +02:00
|
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
|
|
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
libv4lconvert.so:${PORTSDIR}/multimedia/libv4l \
|
2015-02-05 19:38:18 +01:00
|
|
|
libvpx.so:${PORTSDIR}/multimedia/libvpx \
|
2015-04-27 22:29:48 +02:00
|
|
|
libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio
|
2014-10-07 20:28:27 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
|
2014-08-28 14:19:12 +02:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
2015-11-13 18:07:00 +01:00
|
|
|
GH_ACCOUNT= GrayHatter
|
2015-11-26 14:35:09 +01:00
|
|
|
GH_TAGNAME= 8eaef84
|
2014-08-28 14:19:12 +02:00
|
|
|
|
2014-10-07 20:28:27 +02:00
|
|
|
USES= compiler:c11 desktop-file-utils gmake openal:al pkgconfig
|
|
|
|
USE_XORG= x11 xext xrender
|
2014-09-20 15:08:06 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2014-08-28 14:19:12 +02:00
|
|
|
|
2014-10-07 20:28:27 +02:00
|
|
|
OPTIONS_DEFINE= DBUS
|
|
|
|
OPTIONS_DEFAULT= DBUS
|
|
|
|
|
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
|
|
|
|
DBUS_MAKE_ARGS_OFF= DBUS=0
|
|
|
|
|
2015-11-13 18:07:00 +01:00
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|' \
|
|
|
|
${WRKSRC}/${MAKEFILE}
|
|
|
|
|
2014-08-28 14:19:12 +02:00
|
|
|
post-install:
|
2015-03-11 22:25:30 +01:00
|
|
|
${MV} ${WRKSRC}/utox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
${RM} -rf ${STAGEDIR}${MAN1PREFIX}/share/man
|
2014-08-28 14:19:12 +02:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|