mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
mktorrent is a simple command-line utility to create BitTorrent
metainfo files. It supports multiple trackers, private trackers, custom comments, and is multi-threaded to support multiple CPUs. WWW: http://mktorrent.sourceforge.net/ PR: 146479 Submitted by: Damian Gerow <dgerow@afflictions.org> Feature safe: yes
This commit is contained in:
parent
dbebd471ca
commit
00094fc602
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257435
@ -75,6 +75,7 @@
|
||||
SUBDIR += lopster
|
||||
SUBDIR += microdc2
|
||||
SUBDIR += minder
|
||||
SUBDIR += mktorrent
|
||||
SUBDIR += mldonkey
|
||||
SUBDIR += mldonkey-core
|
||||
SUBDIR += mldonkey-gui
|
||||
|
46
net-p2p/mktorrent/Makefile
Normal file
46
net-p2p/mktorrent/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: mktorrent
|
||||
# Date created: 9 May 2010
|
||||
# Whom: Damian Gerow <dgerow@afflictions.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mktorrent
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= dgerow@afflictions.org
|
||||
COMMENT= A command-line utility for creating BitTorrent metainfo files
|
||||
|
||||
MAKEFILE= BSDmakefile
|
||||
MAKE_FLAGS= USE_LONG_OPTIONS=1
|
||||
|
||||
PLIST_FILES= bin/mktorrent
|
||||
|
||||
OPTIONS= THREADS "Enable support for pthreads" on \
|
||||
OPENSSL "Use OpenSSL for hashing" on \
|
||||
HASHCHECK "Verify file hashes" on
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(WITHOUT_THREADS)
|
||||
MAKE_FLAGS+= USE_PTHREADS=1
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_OPENSSL)
|
||||
MAKE_FLAGS+= USE_OPENSSL=1
|
||||
USE_OPENSSL= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_HASHCHECK)
|
||||
MAKE_FLAGS+= NO_HASH_CHECK=1
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/BSDmakefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-p2p/mktorrent/distinfo
Normal file
3
net-p2p/mktorrent/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (mktorrent-1.0.tar.gz) = 0da00209da96a0dc39efbb6eb5b4d8ff
|
||||
SHA256 (mktorrent-1.0.tar.gz) = 6f8e562af6366e0d9bde76e434f740b55722c6c3c555860dbe80083f9d1d119f
|
||||
SIZE (mktorrent-1.0.tar.gz) = 23089
|
5
net-p2p/mktorrent/pkg-descr
Normal file
5
net-p2p/mktorrent/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
mktorrent is a simple command-line utility to create BitTorrent
|
||||
metainfo files. It supports multiple trackers, private trackers,
|
||||
custom comments, and is multi-threaded to support multiple CPUs.
|
||||
|
||||
WWW: http://mktorrent.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user