aboutsummaryrefslogtreecommitdiffstats
path: root/audio/vo-amrwbenc/Makefile
blob: 7da2338ee70ea248aae8c2b11510d410b547450d (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
# New ports collection makefile for:    vo-amrwbenc
# Date created:     23 Jun 2011
# Whom:         Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   vo-amrwbenc
PORTVERSION=    0.1.1
CATEGORIES= audio
MASTER_SITES=   https://github.com/mstorsjo/${PORTNAME}/tarball/v${PORTVERSION}/
DISTNAME=   mstorsjo-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION}

MAINTAINER= mm@FreeBSD.org
COMMENT=    VisualOn AMR-WB encoder library

LICENSE=    ASL
LICENSE_FILE=   ${WRKSRC}/COPYING

GITVERSION= b20d264
FETCH_ARGS= -pRr
WRKSRC=     ${WRKDIR}/mstorsjo-${PORTNAME}-${GITVERSION}

GNU_CONFIGURE=  yes

USE_AUTOTOOLS=  libtoolize aclocal autoheader autoconf automake
ACLOCAL_ARGS=   -I m4
AUTOCONF_ARGS=  -I m4

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -E -e \
    's|^pkgconfigdir = .*|pkgconfigdir = $$(prefix)/libdata/pkgconfig|g' \
    ${WRKSRC}/Makefile.am

.include <bsd.port.post.mk>