blob: 7d4e152ea71adf32a400a30a2db86adac42ca042 (
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
52
|
# New ports collection makefile for: libcdio
# Date created: 2004-04-04
# Whom: arved
#
# $FreeBSD$
PORTNAME= libcdio
PORTVERSION= 0.78.2
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libcdio
MAINTAINER= mich@FreeBSD.org
COMMENT= Compact Disc Input and Control Library
LIB_DEPENDS= cddb.4:${PORTSDIR}/audio/libcddb \
popt.0:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
USE_GNOME= gnometarget pkgconfig gnomehack
USE_GMAKE= yes
USE_ICONV= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --with-libpopt-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
USE_PERL5_BUILD=yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"
INFO= libcdio
OPTIONS= PARANOIA "Support for accessing audio via CD Paranoia" on
.include <bsd.port.pre.mk>
.ifdef(WITH_PARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= PARANOIA=""
MAN1= cd-paranoia.1
.else
CONFIGURE_ARGS+= --without-cd-paranoia
PLIST_SUB+= PARANOIA="@comment "
.endif
post-patch:
.ifndef(WITH_PARANOIA)
${REINPLACE_CMD} -e 's|libcdio_paranoia.pc||; s|libcdio_cdda.pc||' \
${WRKSRC}/Makefile.in
.endif
${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd5\.\*|freebsd6\.\*|freebsd7\.\*," ${WRKSRC}/configure
.include <bsd.port.post.mk>
|