summaryrefslogtreecommitdiffstats
path: root/sysutils/libcdio/Makefile
blob: d763b8f58640be6d4bf9d075c6c5e89dcd57d813 (plain)
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
# Created by: arved
# $FreeBSD$

PORTNAME=	libcdio
PORTVERSION=	0.92
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	libcdio

MAINTAINER=	arved@FreeBSD.org
COMMENT=	Compact Disc Input and Control Library

LIB_DEPENDS=	libcddb.so:${PORTSDIR}/audio/libcddb

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
USES=		cpe pathfix pkgconfig iconv libtool ncurses gmake perl5
USE_LDCONFIG=	yes
CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG}
USE_PERL5=	build
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}

INFO=		libcdio
CPE_VENDOR=	gnu

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -e "s,freebsd5\.\*,freebsd*," ${WRKSRC}/configure

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud