Files
ports/devel/bencodetools/Makefile
T
Emanuel Haupt 7457e5faa4 devel/bencodetools: Add new port
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.
2023-02-20 08:55:04 +01:00

37 lines
802 B
Makefile

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>