summaryrefslogtreecommitdiff
path: root/net-im/toxic
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-06-30 21:22:25 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-06-30 21:22:25 +0000
commit68e670f9e7033f5a4de5c83a41bb15a6a2af14cf (patch)
tree43621a8c85ec9d6a1ab841e54997660c2e102f30 /net-im/toxic
parent- USES=libtool pathfix tar:bzip2 (diff)
Refresh to a recent snapshot.
Notes
Notes: svn path=/head/; revision=359924
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/Makefile20
-rw-r--r--net-im/toxic/distinfo4
-rw-r--r--net-im/toxic/files/pkg-message.in2
-rw-r--r--net-im/toxic/pkg-plist7
4 files changed, 18 insertions, 15 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 5a1e915ad4bc..93125992dbf4 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= toxic
-PORTVERSION= 0.4.0.140611
+PORTVERSION= 0.4.2.140630
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -19,13 +19,15 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tox
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 328e7f8
+GH_COMMIT= a126f9c
WRKSRC= ${WRKDIR}/Tox-${PORTNAME}-${GH_COMMIT}
+BUILD_WRKSRC= ${WRKSRC}/build
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
-USES= ncurses:port pkgconfig
-USE_AUTOTOOLS= autoconf aclocal
+USES= ncurses:port gmake pkgconfig
.include <bsd.port.pre.mk>
@@ -34,13 +36,11 @@ USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
.endif
-run-autotools:
- cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -if
+pre-configure:
+ ${REINPLACE_CMD} -e 's|PREFIX =|PREFIX?=|;s|$$(shell git rev-list HEAD --count)|${GH_COMMIT}|' \
+ ${BUILD_WRKSRC}/${MAKEFILE}
post-install:
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/misc/toxic.conf ${STAGEDIR}${EXAMPLESDIR}
-.endif
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/toxic
.include <bsd.port.post.mk>
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index 5003ce03b8da..408582e49473 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (toxic-0.4.0.140611.tar.gz) = 3124965b56a4ed42b80af08f58a126d8c4f0035084393bcf9297b35290f1994f
-SIZE (toxic-0.4.0.140611.tar.gz) = 78177
+SHA256 (toxic-0.4.2.140630.tar.gz) = 64551ccf2cea7c5c8ebe47ddffbd06b8ace5e1da155895f1370b0dd1be3e1fc4
+SIZE (toxic-0.4.2.140630.tar.gz) = 70949
diff --git a/net-im/toxic/files/pkg-message.in b/net-im/toxic/files/pkg-message.in
index d22a4177879a..8836ab80d583 100644
--- a/net-im/toxic/files/pkg-message.in
+++ b/net-im/toxic/files/pkg-message.in
@@ -7,7 +7,7 @@
colour_theme:1;
in your ~/.config/tox/toxic.conf
- (more parameters available - see %%EXAMPLESDIR%%/toxic.conf )
+ (more parameters available - see %%DATADIR%%/toxic.conf.example )
or try to define another TERM, e.g.:
TERM=vt100 toxic
diff --git a/net-im/toxic/pkg-plist b/net-im/toxic/pkg-plist
index 0a417f0fbce7..233299f7637d 100644
--- a/net-im/toxic/pkg-plist
+++ b/net-im/toxic/pkg-plist
@@ -1,5 +1,8 @@
bin/toxic
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toxic.conf
+man/man1/toxic.1-e.gz
+man/man1/toxic.1.gz
+man/man5/toxic.conf.5-e.gz
+man/man5/toxic.conf.5.gz
%%DATADIR%%/DHTnodes
+%%DATADIR%%/toxic.conf.example
@dirrm %%DATADIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%