1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-im/toxic/Makefile
Thierry Thomas c661f50a95 File format of libncursesw.so is not recognized on FreeBSD-8.4
(treating as linker script) => use binutils from ports.

Reported by:	pkg-fallout
Obtained from:	tijl
2014-05-17 20:45:05 +00:00

44 lines
935 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= toxic
PORTVERSION= 0.3.3.140514
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
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tox
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 2cf5430
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>