aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libvorbis/Makefile
blob: 7d74b34e98ff81765f201fb8f6d2a26afe69fd37 (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
# New ports collection makefile for:    libvorbis
# Date created:             18 October 2000
# Whom:                 t.vanklaveren@student.utwente.nl
#
# $FreeBSD$
#

PORTNAME=   libvorbis
PORTVERSION=    20001018
CATEGORIES= audio
MASTER_SITES=   http://home.student.utwente.nl/t.vanklaveren/distfiles/
DISTNAME=   vorbis-${PORTVERSION}

MAINTAINER= t.vanklaveren@student.utwente.nl

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

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
WRKSRC=     ${WRKDIR}/vorbis

ACLOCAL?=   ${LOCALBASE}/bin/aclocal
AUTOHEADER?=    ${LOCALBASE}/bin/autoheader
CFLAGS+=    -I${LOCALBASE}/include
CONFIGURE_ARGS+=    --with-ogg=${LOCALBASE}

post-patch:
    cd ${WRKSRC} && ${ACLOCAL}
    cd ${WRKSRC} && ${AUTOHEADER}
    cd ${WRKSRC} && ${AUTOMAKE} --add-missing
    cd ${WRKSRC} && ${AUTOCONF}

.include <bsd.port.mk>