summaryrefslogblamecommitdiff
path: root/sysutils/libcdio/Makefile
blob: 2785ef38e48ad31dbb4e2a6a52f95327854b2ef7 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                  
                    
                 






                                                      

                                                  



                                               
                   
                   

                                                            
                   
                                                                                                             


                       


                                                                                           
                      
# New ports collection makefile for:	libcdio
# Date created:				2004-04-04
# Whom:					arved
#
# $FreeBSD$

PORTNAME=	libcdio
PORTVERSION=	0.71
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=	cddb.1:${PORTSDIR}/audio/libcddb \
		popt.0:${PORTSDIR}/devel/popt

GNU_CONFIGURE=	yes
USE_GNOME=	gnometarget pkgconfig gnomehack
USE_GMAKE=	yes
USE_ICONV=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ARGS+=	--with-libpopt-prefix=${LOCALBASE} \
		--with-libiconv-prefix=${LOCALBASE}
USE_REINPLACE=	yes
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"

INFO=		libcdio

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

.include <bsd.port.mk>