mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
98eb11b2f0
Changes: http://www.boost.org/users/history/version_1_65_1.html PR: 218835 Approved by: maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month) Tested by: jhibbits (on powerpc64, earlier version) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D11582
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= twister-core
|
|
PORTVERSION= 0.9.34
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 9
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net-p2p
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Experimental peer-to-peer microblogging software
|
|
|
|
LICENSE= BSD3CLAUSE MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libleveldb.so:databases/leveldb
|
|
|
|
BROKEN_powerpc64= Does not build: /usr/bin/ld: final link failed: Bad value
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= miguelfreitas
|
|
|
|
USES= bdb:48 autoreconf:build gmake iconv libtool ssl
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_WRKSRC=${WRKSRC}/libtorrent
|
|
CONFIGURE_ARGS= --with-libiconv \
|
|
--with-boost=${LOCALBASE} \
|
|
--with-boost-system=boost_system
|
|
MAKEFILE= makefile.freebsd
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
MAKE_ENV= BOOST_INCLUDE_PATH=${LOCALBASE}/include \
|
|
BOOST_LIB_PATH=${LOCALBASE}/lib \
|
|
BDB_INCLUDE_PATH=${BDB_INCLUDE_DIR} \
|
|
BDB_LIB_PATH=${BDB_LIB_DIR} \
|
|
ICONV_LIB="${ICONV_LIB}"
|
|
|
|
PLIST_FILES= bin/twisterd
|
|
PORTDOCS= README.md
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|' \
|
|
${WRKSRC}/share/genbuild.sh
|
|
|
|
pre-configure:
|
|
(cd ${CONFIGURE_WRKSRC} && ./autotool.sh)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/twisterd ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|