freebsd-ports/net-p2p/mktorrent/Makefile
Christian Weisgerber 172605d1b0 Restore the maximum piece size of 2^30 introduced in r435987.
PR:		221717
Reported by:	Anton Sayetsky
2017-09-07 15:19:51 +00:00

41 lines
879 B
Makefile

# Created by: Damian Gerow <dgerow@afflictions.org>
# $FreeBSD$
PORTNAME= mktorrent
PORTVERSION= 1.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net-p2p
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line utility for creating BitTorrent metainfo files
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= Rudde
MAKEFILE= BSDmakefile
MAKE_ARGS= USE_LONG_OPTIONS=1
PLIST_FILES= bin/mktorrent
OPTIONS_DEFINE= THREADS OPENSSL HASHCHECK
OPTIONS_DEFAULT= THREADS OPENSSL HASHCHECK
OPENSSL_DESC= Use OpenSSL for hashing
HASHCHECK_DESC= Verify file hashes
OPENSSL_USES= ssl
OPENSSL_CFLAGS= -I${OPENSSLINC}
OPENSSL_LDFLAGS= -L${OPENSSLLIB}
THREADS_MAKE_ARGS= USE_PTHREADS=1
OPENSSL_MAKE_ARGS= USE_OPENSSL=1
HASHCHECK_MAKE_ARGS= NO_HASH_CHECK=1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>