aboutsummaryrefslogtreecommitdiffstats
path: root/audio/epos-devel/Makefile
blob: 2ed1944be4d4f931ee550b9cab82fa9e6ce5b764 (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
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   epos
PORTVERSION=    2.5.37
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Text-to-Speech system

LICENSE=    GPLv2 LGPL20
LICENSE_COMB=   multi

BROKEN_FreeBSD_8=   does not build on FreeBSD < 10.x
BROKEN_FreeBSD_9=   does not build on FreeBSD < 10.x

USES=       gmake
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_lib_stdcpp_main=no YACC=${YACC}

post-patch:
    @${REINPLACE_CMD} -e 's/^\(SUBDIRS =.*\)doc/\1/' ${WRKSRC}/Makefile.in
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|-ggdb||'
    @${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' \
        ${WRKSRC}/src/nnet/neural.cc

.include <bsd.port.mk>