blob: 9278399de5bccb9a046058dd5535f27f99748b89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= toxic
PORTVERSION= 0.3.3.140601
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
COMMENT= A 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 \
libopenal.so.1:${PORTSDIR}/audio/openal-soft
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tox
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 7206a9e
WRKSRC= ${WRKDIR}/Tox-${PORTNAME}-${GH_COMMIT}
SUB_FILES= pkg-message
USES= ncurses:port pkgconfig
USE_AUTOTOOLS= autoconf aclocal
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900033
USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
.endif
run-autotools:
cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -if
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/misc/toxic.conf ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
|