aboutsummaryrefslogtreecommitdiff
path: root/net-im/toxic
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-10-26 14:43:54 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-10-26 14:43:54 +0000
commit19a4feda9e3564d78930d768c5796d756c5972a4 (patch)
treee168ee35c09cb293642499c97b4d601eedb7e474 /net-im/toxic
parent018be0de95f4ea608b372664278c46fd554d9773 (diff)
downloadports-19a4feda9e3564d78930d768c5796d756c5972a4.tar.gz
ports-19a4feda9e3564d78930d768c5796d756c5972a4.zip
Refresh.
Notes
Notes: svn path=/head/; revision=371504
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/Makefile9
-rw-r--r--net-im/toxic/distinfo4
-rw-r--r--net-im/toxic/files/patch-cfg_targets_install.mk11
-rw-r--r--net-im/toxic/pkg-plist3
4 files changed, 19 insertions, 8 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 5fd2cd7a0995..22cae103c2de 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= toxic
-PORTVERSION= 0.5.2.141012
+PORTVERSION= 0.5.2.141025
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tox
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= f7d46f1
+GH_COMMIT= e22b7a3
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
@@ -34,7 +34,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
-USES= ncurses openal:al,alut gmake pkgconfig
+USES= desktop-file-utils ncurses openal:al,alut gmake pkgconfig
.include <bsd.port.pre.mk>
@@ -44,10 +44,11 @@ LDFLAGS+= -B${LOCALBASE}/bin
.endif
pre-configure:
- ${REINPLACE_CMD} -e 's|PREFIX =|PREFIX?=|;s|$$(shell git rev-list HEAD --count)|${GH_COMMIT}|' \
+ ${REINPLACE_CMD} -e 's|PREFIX =|PREFIX?=|;s|$$(shell git rev-list HEAD.*$$|${GH_COMMIT}|' \
${WRKSRC}/cfg/global_vars.mk
post-install:
+ ${RM} ${STAGEDIR}${MANPREFIX}/man/man1/toxic.1-e ${STAGEDIR}${MANPREFIX}/man/man5/toxic.conf.5-e
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/toxic
.include <bsd.port.post.mk>
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index 878a5d48cf26..0af7c88c8f7d 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (toxic-0.5.2.141012.tar.gz) = 34f7e541f4eb195b093b7424c10c7b5db2326da1d5c136223368156323cd6a1c
-SIZE (toxic-0.5.2.141012.tar.gz) = 1095642
+SHA256 (toxic-0.5.2.141025.tar.gz) = e69eaa2ec68d31fff942997b13fd8e1e1e7937b6e37d69ca61a31942aa350793
+SIZE (toxic-0.5.2.141025.tar.gz) = 1098702
diff --git a/net-im/toxic/files/patch-cfg_targets_install.mk b/net-im/toxic/files/patch-cfg_targets_install.mk
new file mode 100644
index 000000000000..320aa6e9b08c
--- /dev/null
+++ b/net-im/toxic/files/patch-cfg_targets_install.mk
@@ -0,0 +1,11 @@
+--- cfg/targets/install.mk.orig 2014-10-21 15:20:51.000000000 +0200
++++ cfg/targets/install.mk 2014-10-25 17:27:09.000000000 +0200
+@@ -23,7 +23,7 @@
+ @echo "Installing man pages"
+ @mkdir -p $(abspath $(DESTDIR)/$(MANDIR))
+ @for f in $(MANFILES) ; do \
+- if [ ! -e "$$f" ]; then \
++ if [ ! -e "$(DOC_DIR)/$$f" ]; then \
+ continue ;\
+ fi ;\
+ section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $$f | rev | cut -d "." -f 1` ;\
diff --git a/net-im/toxic/pkg-plist b/net-im/toxic/pkg-plist
index 6a9fd024657c..befd4d3214c4 100644
--- a/net-im/toxic/pkg-plist
+++ b/net-im/toxic/pkg-plist
@@ -1,8 +1,7 @@
bin/toxic
-man/man1/toxic.1-e.gz
man/man1/toxic.1.gz
-man/man5/toxic.conf.5-e.gz
man/man5/toxic.conf.5.gz
+share/applications/toxic.desktop
%%DATADIR%%/DHTnodes
%%DATADIR%%/DHTnodes-e
%%DATADIR%%/DNSservers