2013-05-20 18:02:42 +00:00
|
|
|
# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= id3ren
|
|
|
|
PORTVERSION= 1.1b0
|
|
|
|
CATEGORIES= audio
|
2013-06-27 16:12:44 +00:00
|
|
|
MASTER_SITES= GH
|
2013-05-20 18:02:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
|
|
COMMENT= Rename MP3 files, edit tags, search, etc
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-06-27 16:12:44 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= sebcode
|
|
|
|
GH_TAGNAME= 322ee77
|
|
|
|
GH_COMMIT= 322ee77
|
|
|
|
|
2013-12-29 14:17:15 +00:00
|
|
|
PLIST_FILES= bin/id3ren man/man1/id3ren.1.gz
|
2013-05-20 18:02:42 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
|
|
|
|
README THANKS TODO USAGE
|
|
|
|
|
2014-07-16 03:47:05 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-05-20 18:02:42 +00:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
|
|
|
${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c
|
|
|
|
${RM} ${WRKSRC}/src/id3ren
|
|
|
|
|
2013-12-29 14:17:15 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz \
|
|
|
|
${STAGEDIR}${PREFIX}/man/man1/
|
|
|
|
|
2013-05-20 18:02:42 +00:00
|
|
|
post-install:
|
2013-12-29 14:17:15 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2013-05-20 18:02:42 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|