aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liboggz/Makefile
blob: d806cb5404a7e186f6736d5d063c8989f79c6c12 (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
# New ports collection makefile for:    liboggz
# Date created:     08 October 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   liboggz
DISTVERSION=    0.9.9
CATEGORIES= audio
MASTER_SITES=   http://downloads.xiph.org/releases/liboggz/ \
        http://wickedmachine.net/mirror/

MAINTAINER= jsa@wickedmachine.net
COMMENT=    Simple Ogg API

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

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

# First REINPLACE_CMD line makes all timestimes relative to localtime, crude hack
post-patch:
    @${REINPLACE_CMD} -e 's/timezone/0/' \
        ${WRKSRC}/src/tools/oggz-chop/httpdate.c \
        ${WRKSRC}/src/tools/oggz-chop/httpdate_test.c
    @${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.mk>