mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
172605d1b0
PR: 221717 Reported by: Anton Sayetsky
42 lines
879 B
Makefile
42 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>
|