mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= uTox
|
|
PORTVERSION= 0.11.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-im net-p2p
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
COMMENT= Lightweight Tox client
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox \
|
|
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libsodium.so:security/libsodium \
|
|
libv4lconvert.so:multimedia/libv4l \
|
|
libvpx.so:multimedia/libvpx \
|
|
libfilteraudio.so:audio/libfilteraudio\
|
|
libopus.so:audio/opus
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox
|
|
|
|
USE_GITHUB= yes
|
|
GH_TAGNAME= 1835eae
|
|
|
|
USES= cmake compiler:c11 desktop-file-utils localbase:ldflags openal:al \
|
|
pkgconfig
|
|
USE_XORG= x11 xext xrender
|
|
|
|
OPTIONS_DEFINE= DBUS
|
|
OPTIONS_DEFAULT= DBUS
|
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
|
DBUS_MAKE_ARGS_OFF= DBUS=0
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's|resolv dl||' \
|
|
-e 's|/usr/include/freetype2|${LOCALBASE}/include/freetype2|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
|
|
${INSTALL_DATA} ${WRKSRC}/icons/utox-128x128.png ${STAGEDIR}${PREFIX}/share/pixmaps/utox.png
|
|
|
|
.include <bsd.port.mk>
|