summaryrefslogblamecommitdiff
path: root/audio/liboggz/Makefile
blob: 273a33abb4e28ca20788516c6b71b4d33cf1d835 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                      
                          



                                                                   
                                                                                                      






                                                                                                        






                               
# New ports collection makefile for:	liboggz
# Date created:		08 October 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	liboggz
DISTVERSION=	0.9.5
CATEGORIES=	audio
MASTER_SITES=	http://www.annodex.net/software/liboggz/download/ CSME

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	Simple Ogg API

LIB_DEPENDS=	ogg.5:${PORTSDIR}/audio/libogg

USE_AUTOTOOLS=	libtool:15
USE_GNOME=	pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ogg=${LOCALBASE} --program-transform-name=""
CONFIGURE_ENV=	HAVE_DOCBOOK2HTML=false HAVE_DOCBOOKTOMAN=false HAVE_DOXYGEN=false HAVE_VALGRIND=false

post-patch:
	@${REINPLACE_CMD} -e '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' ${WRKSRC}/Makefile.in
.ifdef NOPORTDOCS
	@${REINPLACE_CMD} -e '/^install-data-am/s!install-data-local!!' ${WRKSRC}/doc/Makefile.in
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	does not compile on 4.x
.endif

.include <bsd.port.post.mk>