mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
5b5a90256d
Using this new scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and not having to know the hash for a tag. This scheme will download a tarball that has a different checksum than before due to a changed directory name for extraction. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY Differential Revision: https://reviews.freebsd.org/D748 Submitted by: amdmi3 Reviewed by: mat, swills, antoine, bdrewery With hat: portmgr
40 lines
918 B
Makefile
40 lines
918 B
Makefile
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= id3ren
|
|
PORTVERSION= 1.1b0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= GHL
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Rename MP3 files, edit tags, search, etc
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sebcode
|
|
GH_TAGNAME= 322ee77
|
|
GH_COMMIT= 322ee77
|
|
|
|
PLIST_FILES= bin/id3ren man/man1/id3ren.1.gz
|
|
PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
|
|
README THANKS TODO USAGE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
|
${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c
|
|
${RM} ${WRKSRC}/src/id3ren
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz \
|
|
${STAGEDIR}${PREFIX}/man/man1/
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|