# Created by: Roman Shterenzon # $FreeBSD: head/audio/id3lib/Makefile 365447 2014-08-20 12:25:04Z amdmi3 $ PORTNAME= id3lib PORTVERSION= 3.8.3 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= kaeru@inigo-tech.com COMMENT= Library for manipulating ID3v1/v1.1 and ID3v2 tags GNU_CONFIGURE= yes USES= iconv libtool USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-extract: @${RM} -rf ${WRKSRC}/zlib post-patch: @${REINPLACE_CMD} '/main/s/unsigned int/int/' \ ${WRKSRC}/examples/demo_*.cpp @${REINPLACE_CMD} 's/\(iomanip\)\.h/\1/' ${WRKSRC}/configure @${REINPLACE_CMD} '/include.*/{ p; s//include /; n;n;n; }' \ ${WRKSRC}/include/id3/id3lib_strings.h \ ${WRKSRC}/include/id3/writers.h .include