Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/transmission-cli/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= transmission | PORTNAME= transmission | ||||
PORTVERSION= 2.84 | PORTVERSION= 2.84 | ||||
PORTREVISION?= 1 | PORTREVISION?= 2 | ||||
CATEGORIES?= net-p2p | CATEGORIES?= net-p2p | ||||
#MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ | #MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/ | ||||
MASTER_SITES= http://transmission.cachefly.net/ | MASTER_SITES= http://transmission.cachefly.net/ | ||||
PKGNAMESUFFIX?= -cli | PKGNAMESUFFIX?= -cli | ||||
MAINTAINER?= crees@FreeBSD.org | MAINTAINER?= jbeich@FreeBSD.org | ||||
COMMENT?= Lightweight CLI (command line) BitTorrent client and utilities | COMMENT?= Lightweight CLI (command line) BitTorrent client and utilities | ||||
SLAVEPORT?= cli | SLAVEPORT?= cli | ||||
# Odd arrangement here-- cli is MIT, everything else is GPL | # Odd arrangement here-- cli is MIT, everything else is GPL | ||||
.if ${SLAVEPORT} == cli | .if ${SLAVEPORT} == cli | ||||
LICENSE= MIT | LICENSE= MIT | ||||
.else | .else | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
.endif | .endif | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES+= tar:xz | USES+= cpe tar:xz | ||||
CPE_VENDOR= transmissionbt | |||||
CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5* | CONFLICTS_INSTALL= ${PORTNAME}${PKGNAMESUFFIX}-2.5* | ||||
OPTIONS_DEFINE= LITE DOCS | OPTIONS_DEFINE= LITE DOCS | ||||
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude third-party | EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude third-party | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
Show All 12 Lines | |||||
# This is master port of transmission-*, so don't override USES definition | # This is master port of transmission-*, so don't override USES definition | ||||
USES+= gmake iconv libtool pkgconfig | USES+= gmake iconv libtool pkgconfig | ||||
USE_OPENSSL= yes | USE_OPENSSL= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include -DWITH_UTP=1 | CPPFLAGS+= -I${LOCALBASE}/include -DWITH_UTP=1 | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
LIBS+= ${ICONV_LIB} | LIBS+= ${ICONV_LIB} | ||||
CONFIGURE_ARGS=--with-zlib=/usr \ | CONFIGURE_ARGS=--with-zlib=/usr \ | ||||
--without-inotify \ | |||||
--disable-utp \ | --disable-utp \ | ||||
--enable-external-natpmp \ | --enable-external-natpmp \ | ||||
${EXTRA_CONF_ARGS} | ${EXTRA_CONF_ARGS} | ||||
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ | CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ | ||||
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \ | OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \ | ||||
DHT_CFLAGS=" " \ | DHT_CFLAGS=" " \ | ||||
DHT_LIBS="-ldht" \ | DHT_LIBS="-ldht" \ | ||||
LIBUTP_CFLAGS=" " \ | LIBUTP_CFLAGS=" " \ | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |