mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
37 lines
803 B
Makefile
37 lines
803 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_TAGNAME= 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>
|