Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bencode-tools is a collection of tools for manipulating bencoded data. Bencode (pronounced like Bee-encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PORTNAME= bencodetools | ||
PORTVERSION= g20221122 | ||
CATEGORIES= devel | ||
|
||
MAINTAINER= ehaupt@FreeBSD.org | ||
COMMENT= Collection of tools for manipulating bencoded data | ||
WWW= https://gitlab.com/heikkiorsila/bencodetools | ||
|
||
LICENSE= BSD2CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= bash:shells/bash | ||
|
||
USES= shebangfix | ||
USE_GITLAB= yes | ||
GL_ACCOUNT= heikkiorsila | ||
GL_COMMIT= f08cb85806d5b188f3af04cd21393dd8eb51b287 | ||
USE_LDCONFIG= yes | ||
|
||
SHEBANG_FILES= configure | ||
|
||
HAS_CONFIGURE= yes | ||
CONFIGURE_ARGS= --c-compiler=${CC} \ | ||
--package-prefix=${STAGEDIR} \ | ||
--prefix=${PREFIX} \ | ||
--without-python | ||
|
||
PLIST_FILES= bin/bencat \ | ||
include/bencodetools/bencode.h \ | ||
lib/libbencodetools.so | ||
|
||
post-install: | ||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bencat \ | ||
${STAGEDIR}${PREFIX}/lib/libbencodetools.so | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1676827805 | ||
SHA256 (heikkiorsila-bencodetools-f08cb85806d5b188f3af04cd21393dd8eb51b287_GL0.tar.gz) = 2fa2058d5a0edec3d9b665cbd580d479ded50a11add45258692e6804cbc2a400 | ||
SIZE (heikkiorsila-bencodetools-f08cb85806d5b188f3af04cd21393dd8eb51b287_GL0.tar.gz) = 38621 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bencode-tools is a collection of tools for manipulating bencoded data. | ||
|
||
Bencode (pronounced like Bee-encode) is the encoding used by the | ||
peer-to-peer file sharing system BitTorrent for storing and transmitting | ||
loosely structured data. |