diff options
Diffstat (limited to 'audio/minimp3')
-rw-r--r-- | audio/minimp3/Makefile | 22 | ||||
-rw-r--r-- | audio/minimp3/distinfo | 10 |
2 files changed, 24 insertions, 8 deletions
diff --git a/audio/minimp3/Makefile b/audio/minimp3/Makefile index 7ba47f6ee289..b13158ef1045 100644 --- a/audio/minimp3/Makefile +++ b/audio/minimp3/Makefile @@ -1,7 +1,13 @@ PORTNAME= minimp3 -PORTVERSION= g20211130 +DISTVERSION= g20211130 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio +# Use direct link to 126KB files instead of 19+MB tarball: +# https://github.com/${GH_ACCOUNT}/${PORTNAME}/tar.gz/${GH_TAGNAME}?dummy=/${GH_ACCOUNT}-${PORTNAME}-${DISTVERSION}-${GH_TAGNAME}_GH0.tar.gz +MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/${GH_TAGNAME}/ +DISTFILES= LICENSE minimp3.h minimp3_ex.h +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= C++ single-header, minimalistic library for decoding MP3 @@ -10,16 +16,22 @@ WWW= https://github.com/lieff/minimp3 LICENSE= CC0-1.0 LICENSE_FILE= ${WRKSRC}/LICENSE -USE_GITHUB= yes +USE_GITHUB= nodefault GH_ACCOUNT= lieff GH_TAGNAME= afb604c06bc8beb145fecd42c0ceb5bda8795144 -NO_BUILD= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # +EXTRACT_AFTER_ARGS= ${WRKSRC} + NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes -PLIST_FILES= include/minimp3.h +PLIST_FILES= ${DISTFILES:M*.h:C|^|include/|} do-install: - ${INSTALL_DATA} ${WRKSRC}/minimp3.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${DISTFILES:M*.h:C|^|${WRKSRC}/|} \ + ${STAGEDIR}${PREFIX}/include .include <bsd.port.mk> diff --git a/audio/minimp3/distinfo b/audio/minimp3/distinfo index 54ff4607f8f2..131e3139c940 100644 --- a/audio/minimp3/distinfo +++ b/audio/minimp3/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1653982911 -SHA256 (lieff-minimp3-g20211130-afb604c06bc8beb145fecd42c0ceb5bda8795144_GH0.tar.gz) = 21672c32aaac29cf4b7e6f8e0154767080ae87faa79c682498453e5a9bc5e0d3 -SIZE (lieff-minimp3-g20211130-afb604c06bc8beb145fecd42c0ceb5bda8795144_GH0.tar.gz) = 19743923 +TIMESTAMP = 1755080808 +SHA256 (minimp3-g20211130/LICENSE) = 6a1ee543e5282cd9061881edf462e6fdab181f328da71fc2c9a6950a80e94d01 +SIZE (minimp3-g20211130/LICENSE) = 6556 +SHA256 (minimp3-g20211130/minimp3.h) = 5fb296a790734772b65a5514438cc06d14f24e539c13475ff2a7f737681c82c0 +SIZE (minimp3-g20211130/minimp3.h) = 76802 +SHA256 (minimp3-g20211130/minimp3_ex.h) = bb001301b8666ea7a45ae057b62b17074483213b0d410555d97cc4d076e110df +SIZE (minimp3-g20211130/minimp3_ex.h) = 49511 |