freebsd-ports/audio/id3lib/Makefile
Emanuel Haupt 7c0b707e71 - Fix a bug in id3lib that causes UTF-16 characters to be broken when writing
tags
- Pass maintainer-ship to submitter

PR:		98061
Submitted by:	Khairil Yusof <kaeru@inigo-tech.com>
Obtained from:	Fedora (CVS)
2006-05-30 13:50:27 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: id3lib
# Date Created: 26 Oct 2000
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= id3lib
PORTVERSION= 3.8.3
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kaeru@inigo-tech.com
COMMENT= Library for manipulating ID3v1/v1.1 and ID3v2 tags
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CC_BASENAME= ${CC:T}
# Should run ${CC} -v and check the output instead
.if ${CC_BASENAME} == cc || ${CC_BASENAME} == gcc
COMPILER?= gcc
STLPORT_PORT?= devel/stlport
.elif ${CC_BASENAME} == icc
COMPILER?= icc
STLPORT_PORT?= devel/stlport-icc
.else
STLPORT_PORT?= # empty
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 501103 && !empty(STLPORT_PORT)
RUN_DEPENDS= ${LOCALBASE}/lib/libstlport_${COMPILER}.so:${PORTSDIR}/${STLPORT_PORT}
BUILD_DEPENDS:= ${RUN_DEPENDS}
LDFLAGS+= -lstlport_${COMPILER}
CPPFLAGS+= -I${LOCALBASE}/include/stlport
.endif
post-extract:
@${RM} -rf ${WRKSRC}/zlib
.include <bsd.port.post.mk>