aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libaudiofile/Makefile
blob: c63faf0e44d47386a8c5649439f18d2b7e1d8fb2 (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
# New ports collection makefile for:    libaudiofile
# Date created:             22 Dec 1998
# Whom:                 Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libaudiofile
PORTVERSION=    0.2.3
CATEGORIES= audio
MASTER_SITES=   ftp://ftp.68k.org/pub/michael/ \
        ftp://oss.sgi.com/projects/audiofile/download/ \
        ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/libaudiofile/0.2
DISTNAME=   audiofile-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org

BUILD_DEPENDS=  pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS=    pkg-config:${PORTSDIR}/devel/pkgconfig

USE_REINPLACE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

pre-patch:
    @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
        's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'

.include <bsd.port.mk>