aboutsummaryrefslogtreecommitdiffstats
path: root/audio/id3ren/Makefile
blob: 2a1b861e478f6378189116e6b02f251e391f246b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for: id3ren
# Date created:         28 February 1999
# Whom:                 Joao Carlos Mendes Luis <jonny@jonny.eng.br>
#
# $FreeBSD$
#

PORTNAME=   id3ren
PORTVERSION=    1.1b0
CATEGORIES= audio
MASTER_SITES=   http://cbothamy.free.fr/projects/id3ren/
EXTRACT_SUFX=   .tgz

MAINTAINER= roam@FreeBSD.org
COMMENT=    Mpeg Audio Layer 3 util: rename files, edit tags, search, etc

PLIST_FILES=    bin/id3ren
USE_REINPLACE=  yes
MAN1=       id3ren.1
MANCOMPRESSED=  yes

pre-patch:
    @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
        ${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c
    ${RM} ${WRKSRC}/src/id3ren

.if !defined(NOPORTDOCS)
PORTDOCS=   AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
        README THANKS TODO USAGE

post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>