blob: aba762e7f90fc999ddb1eb389c6fe5b2e7d960fb (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
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>
|