1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
This commit is contained in:
Thierry Thomas 2014-10-26 14:43:54 +00:00
parent 018be0de95
commit 19a4feda9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371504
6 changed files with 24 additions and 14 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= toxcore
PORTVERSION= 0.141012
PORTREVISION= 1
PORTVERSION= 0.141026
CATEGORIES= net-im net-p2p
MAINTAINER= thierry@FreeBSD.org
@ -21,11 +20,11 @@ USE_GITHUB= yes
GH_ACCOUNT= irungentoo
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 0444ca1
GH_COMMIT= 9c480ac
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
AUTOMAKE_ARGS= -a -c -f
CONFIGURE_ARGS= --enable-testing
CONFIGURE_ARGS= --enable-tests
USES= libtool openal:soft pathfix pkgconfig
USE_SDL= yes
USE_LDCONFIG= yes

View File

@ -1,2 +1,2 @@
SHA256 (toxcore-0.141012.tar.gz) = 6b1ec20bc036ad63ca5633ccde4aa0e15109930d38f2618b4573fcb2a3bcd48e
SIZE (toxcore-0.141012.tar.gz) = 333266
SHA256 (toxcore-0.141026.tar.gz) = 169f7517f7c9569a5aeed8bf9976b204905e23e8f0b5292e1c4a60b6c46989ad
SIZE (toxcore-0.141026.tar.gz) = 338782

View File

@ -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>

View File

@ -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

View File

@ -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` ;\

View File

@ -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