1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/id3ren/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

38 lines
889 B
Makefile

# Created by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
# $FreeBSD$
PORTNAME= id3ren
PORTVERSION= 1.1b0
CATEGORIES= audio
MAINTAINER= crees@FreeBSD.org
COMMENT= Rename MP3 files, edit tags, search, etc
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= sebcode
GH_TAGNAME= 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-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>