Update audio/boodler to version 1.5.3_5
[dports.git] / audio / id3lib / Makefile
1 # Created by: Roman Shterenzon <roman@xpert.com>
2 # $FreeBSD$
3
4 PORTNAME=       id3lib
5 PORTVERSION=    3.8.3
6 PORTREVISION=   8
7 CATEGORIES=     audio
8 MASTER_SITES=   SF
9
10 MAINTAINER=     kaeru@inigo-tech.com
11 COMMENT=        Library for manipulating ID3v1/v1.1 and ID3v2 tags
12
13 GNU_CONFIGURE=  yes
14 USES=           iconv libtool
15 USE_LDCONFIG=   yes
16
17 CPPFLAGS+=      -I${LOCALBASE}/include
18 LDFLAGS+=       -L${LOCALBASE}/lib
19
20 post-extract:
21         @${RM} -rf ${WRKSRC}/zlib
22
23 post-patch:
24         @${REINPLACE_CMD} '/main/s/unsigned int/int/' \
25                 ${WRKSRC}/examples/demo_*.cpp
26         @${REINPLACE_CMD} 's/\(iomanip\)\.h/\1/' ${WRKSRC}/configure
27         @${REINPLACE_CMD} '/include.*/{ p; s//include <cstring>/; n;n;n; }' \
28                 ${WRKSRC}/include/id3/id3lib_strings.h \
29                 ${WRKSRC}/include/id3/writers.h
30
31 .include <bsd.port.mk>