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

PORTNAME=	ecawave
PORTVERSION=	0.4.1
CATEGORIES=	audio
MASTER_SITES=	http://ecasound.seul.org/download/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	ecawave

MAINTAINER=	anarcat@anarcat.dyndns.org

LIB_DEPENDS=	ecasound.7:${PORTSDIR}/audio/ecasound

GNU_CONFIGURE=	yes
USE_QT_VER=	2
USE_X_PREFIX=	yes

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

MAN1=		ecawave.1

post-patch:
	@${PERL} -pi -e 's,-lqt,-lqt2,g' ${WRKSRC}/src/Makefile.in

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud