aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-03-11 21:25:30 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-03-11 21:25:30 +0000
commit6f4ba16514fe79fd6eb10fa7eadbad84fb5871e1 (patch)
tree9453a565aa64edf7b9410bcba061925ed40290eb /net-im
parent03492fddce4210683811cb9c06999980a7b14620 (diff)
downloadports-6f4ba16514fe79fd6eb10fa7eadbad84fb5871e1.tar.gz
ports-6f4ba16514fe79fd6eb10fa7eadbad84fb5871e1.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/uTox/Makefile6
-rw-r--r--net-im/uTox/distinfo4
-rw-r--r--net-im/uTox/files/patch-Makefile25
-rw-r--r--net-im/uTox/pkg-plist1
4 files changed, 24 insertions, 12 deletions
diff --git a/net-im/uTox/Makefile b/net-im/uTox/Makefile
index 44a77e7f4c1e..0708c79a05bc 100644
--- a/net-im/uTox/Makefile
+++ b/net-im/uTox/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= uTox
-DISTVERSION= 0.2.l.git20150204
+DISTVERSION= 0.2.o.git20150311
CATEGORIES= net-im net-p2p
MAINTAINER= fidaj@ukr.net
@@ -23,7 +23,7 @@ USE_GITHUB= yes
GH_ACCOUNT= notsecure
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 621727d
+GH_COMMIT= f24082d
USES= compiler:c11 desktop-file-utils gmake openal:al pkgconfig
USE_XORG= x11 xext xrender
@@ -36,6 +36,8 @@ DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
DBUS_MAKE_ARGS_OFF= DBUS=0
post-install:
+ ${MV} ${WRKSRC}/utox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${RM} -rf ${STAGEDIR}${MAN1PREFIX}/share/man
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
.include <bsd.port.mk>
diff --git a/net-im/uTox/distinfo b/net-im/uTox/distinfo
index e38b7ecd8c62..b0723bac7dd2 100644
--- a/net-im/uTox/distinfo
+++ b/net-im/uTox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (uTox-0.2.l.git20150204.tar.gz) = c66f1d9751bcfa3d82e7b895dc52cb200a761f11bd4e7d3a957b2c4bfd519dc5
-SIZE (uTox-0.2.l.git20150204.tar.gz) = 753374
+SHA256 (uTox-0.2.o.git20150311.tar.gz) = 9dfbe653067d7c2668562603b99b02289783374dbdf81567520e1c428f770586
+SIZE (uTox-0.2.o.git20150311.tar.gz) = 762419
diff --git a/net-im/uTox/files/patch-Makefile b/net-im/uTox/files/patch-Makefile
index b2c53e4e61cc..2dc61a75a097 100644
--- a/net-im/uTox/files/patch-Makefile
+++ b/net-im/uTox/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2015-01-28 12:42:36.939246000 +0200
-+++ Makefile 2015-01-28 12:44:04.733423000 +0200
-@@ -15,10 +15,6 @@
+--- Makefile.orig 2015-03-08 21:59:37.000000000 +0200
++++ Makefile 2015-03-08 22:41:28.269531000 +0200
+@@ -16,10 +16,6 @@
DEPS += libv4lconvert
endif
@@ -8,14 +8,23 @@
- DEPS += filteraudio
-endif
-
- UNAME_S := $(shell uname -s)
-
- CFLAGS += -g -Wall -Wshadow -pthread -std=gnu99
-@@ -36,6 +32,7 @@
+ ifeq ($(UNITY), 1)
+ DEPS += messaging-menu unity
+ endif
+@@ -41,6 +37,7 @@
ifeq ($(FILTER_AUDIO), 1)
CFLAGS += -DAUDIO_FILTERING
+ LDFLAGS += -lfilteraudio
endif
- ifeq ($(UNAME_S), Linux)
+ ifeq ($(UNITY), 1)
+@@ -100,7 +97,7 @@
+
+ mkdir -p $(DESTDIR)$(PREFIX)/share/applications
+ install -m 644 utox.desktop $(DESTDIR)$(PREFIX)/share/applications/utox.desktop
+- if [ "$UNITY" -eq "1" ]; then echo "X-MessagingMenu-UsesChatSection=true" >> $(DESTDIR)$(PREFIX)/share/applications/utox.desktop; fi
++ if [ "$(UNITY)" -eq "1" ]; then echo "X-MessagingMenu-UsesChatSection=true" >> $(DESTDIR)$(PREFIX)/share/applications/utox.desktop; fi
+
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 644 utox.1 $(DESTDIR)$(PREFIX)/share/man/man1/utox.1
diff --git a/net-im/uTox/pkg-plist b/net-im/uTox/pkg-plist
index 35a8d67f705e..0563b6499267 100644
--- a/net-im/uTox/pkg-plist
+++ b/net-im/uTox/pkg-plist
@@ -15,3 +15,4 @@ share/icons/hicolor/64x64/apps/utox.png
share/icons/hicolor/72x72/apps/utox.png
share/icons/hicolor/96x96/apps/utox.png
share/icons/hicolor/scalable/apps/utox.svg
+man/man1/utox.1.gz