aboutsummaryrefslogtreecommitdiffstats
path: root/audio/Maaate/Makefile
blob: 748281757402336e9b49f2ba2d5f80acbb14d28a (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Maaate
PORTVERSION=    0.3.1
PORTREVISION=   5
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}.tar.gz

MAINTAINER= saper@saper.info
COMMENT=    MPEG audio analysis toolkit

LICENSE=    GPLv2

GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USES=       gmake libtool
USE_LDCONFIG=   yes

PORTDOCS=   API.html ChangeLog THANKS applications.html

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|-ldl||g ; \
         s|(CCLD|(CXXLD|g' ${WRKSRC}/demos/Makefile.in

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>