aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ecawave/Makefile
blob: d23b0ef9f99283a1ac252be5a213b85d2c5564ce (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
# New ports collection makefile for:   ecawave
# Date created:                24 aug 2001
# Whom:                        The Anarcat <anarcat@anarcat.dyndns.org>
#
# $FreeBSD$
#

PORTNAME=   ecawave
PORTVERSION=    0.6.1
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://ecasound.seul.org/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple graphical audio file editor

BUILD_DEPENDS=  ${LOCALBASE}/lib/libecasound.a:${PORTSDIR}/audio/ecasound

USE_QT_VER= 3
USE_X_PREFIX=   yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

CFLAGS+=    ${PTHREAD_CFLAGS:S/"//g}
LDFLAGS+=   ${PTHREAD_LIBS:S/"//g}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
        CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
        CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"

MAN1=       ecawave.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
BROKEN=     Configure fails on alpha 5.x
.endif

post-patch:
    ${REINPLACE_CMD} -e "s,lqt,lqt-mt," ${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${DOCSDIR}
.endif

.include <bsd.port.post.mk>