aboutsummaryrefslogtreecommitdiff
path: root/audio/ecawave/Makefile
blob: daf173321880d671484d6cb5ba7ed78ebdd80b18 (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
# 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=	7
CATEGORIES=	audio
MASTER_SITES=	http://ecasound.seul.org/download/

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

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

BROKEN=		does not compile

USE_QT_VER=	3
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}" \

MAN1=		ecawave.1
PLIST_FILES=	bin/ecawave
PORTDOCS=	*.html

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
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}
.for docs in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>