aboutsummaryrefslogtreecommitdiffstats
path: root/devel/flowdesigner/Makefile
blob: de5c333b0e73872dca6dd70aed020b0175a75e7a (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ex:ts=8
# Ports collection makefile for:    flowdesigner
# Date created:         Apr 14, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   flowdesigner
PORTVERSION=    0.9.1
CATEGORIES= devel
MASTER_SITES=   SF
DISTNAME=   FlowDesigner-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A free (GPL) "data flow oriented" development environment

LIB_DEPENDS=    speex.1:${PORTSDIR}/audio/speex \
        fftw.2:${PORTSDIR}/math/fftw

USE_GNOME=  gnomehack gnometarget libgnomeui libxml2
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
LIBTOOLFILES=   ${CONFIGURE_SCRIPT} FuzzyEngine/configure \
        HMM/configure NNet/configure \
        VQ/configure audio_blocks/configure \
        effects/configure lapackflow/configure \
        octave/configure qtflow/configure \
        vflow/configure
CONFIGURE_ARGS= --with-fftw-includes=${LOCALBASE}/include \
        --with-fftw-libraries=${LOCALBASE}/lib
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     "Does not compile on sparc64"
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|tools examples|tools|g' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|src pixmaps|src|g' ${WRKSRC}/vflow/Makefile.in

post-install:
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.n ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.wav ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>