mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= toxic
|
|
PORTVERSION= 0.5.2.141116
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Console client for Tox
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
|
|
LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx \
|
|
libopus.so:${PORTSDIR}/audio/opus \
|
|
libconfig.so:${PORTSDIR}/devel/libconfig
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= tox
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= 141b36a
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT=X11
|
|
|
|
X11_USE= XORG=x11
|
|
X11_MAKE_ARGS_OFF= DISABLE_X11=1 DISABLE_DESKTOP_NOTIFY=1
|
|
X11_LIB_DEPENDS=libnotify.so:${PORTSDIR}/devel/libnotify
|
|
|
|
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= desktop-file-utils ncurses openal:al,alut gmake pkgconfig
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 900033
|
|
USE_BINUTILS= yes
|
|
LDFLAGS+= -B${LOCALBASE}/bin
|
|
.endif
|
|
|
|
pre-configure:
|
|
${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>
|