Lines 1-49
Link Here
|
1 |
# New ports collection makefile for: Creox |
1 |
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> |
2 |
# Date created: 18 Aug 2009 |
|
|
3 |
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> |
4 |
# |
5 |
# $FreeBSD: head/audio/creox/Makefile 309662 2012-12-30 12:03:51Z beat $ |
2 |
# $FreeBSD: head/audio/creox/Makefile 309662 2012-12-30 12:03:51Z beat $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= creox |
4 |
PORTNAME= creox |
9 |
DISTVERSION= 0.2.2rc2 |
5 |
PORTVERSION= 0.3.0 |
10 |
PORTREVISION= 5 |
|
|
11 |
CATEGORIES= audio kde |
6 |
CATEGORIES= audio kde |
12 |
MASTER_SITES= http://zyzstar.kosoru.com/projects/creox/downloads/ |
7 |
MASTER_SITES= GH |
13 |
|
8 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A real-time sound processor |
10 |
COMMENT= Realtime sound processor |
16 |
|
11 |
|
17 |
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack |
12 |
LICENSE= GPLv2 |
18 |
|
13 |
|
19 |
DEPRECATED= Depends on QT3; unmaintained |
14 |
LIB_DEPENDS= jack:${PORTSDIR}/audio/jack |
20 |
EXPIRATION_DATE= 2013-07-01 |
|
|
21 |
|
15 |
|
22 |
USE_BZIP2= yes |
16 |
USE_GITHUB= yes |
23 |
USE_AUTOTOOLS= libtool |
17 |
GH_ACCOUNT= laudrup |
24 |
GNU_CONFIGURE= yes |
18 |
GH_PROJECT= Creox4 |
25 |
USE_GETTEXT= yes |
19 |
GH_TAGNAME= 0.3 |
26 |
USE_KDELIBS_VER=3 |
20 |
GH_COMMIT= 8e27483 |
27 |
INSTALLS_ICONS= yes |
21 |
|
|
|
22 |
USE_XORG= xft xpm |
23 |
USE_KDE4= automoc4 kdelibs kdeprefix |
24 |
USE_QT4= moc_build qmake_build rcc_build uic_build |
25 |
USE_CMAKE= yes |
26 |
CMAKE_OUTSOURCE=yes |
27 |
MAKE_JOBS_SAFE= yes |
28 |
|
28 |
|
29 |
post-patch: |
29 |
post-patch: |
30 |
# Fix bogus test(1) syntax and remove superfluous -O2 |
30 |
@${REINPLACE_CMD} -e \ |
31 |
@${REINPLACE_CMD} -E 's,(if \[ [[:graph:]]+ )==,\1=, ; \ |
31 |
'/-Wno-unused-but-set-variable/d' ${WRKSRC}/CMakeLists.txt |
32 |
s,-O2,,' ${WRKSRC}/configure |
|
|
33 |
# FreeBSD does not have exp10f(3), use powf(3) instead |
32 |
# FreeBSD does not have exp10f(3), use powf(3) instead |
34 |
@${REINPLACE_CMD} -e 's|exp10f(|powf(10., |' \ |
33 |
@${GREP} -lR "exp10f(" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ |
35 |
${WRKSRC}/creox/dsp_flow/threadeffector.cpp \ |
34 |
's|exp10f(|powf(10.,|' |
36 |
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp \ |
|
|
37 |
${WRKSRC}/creox/effects_dsp/phaserprocessor.cpp \ |
38 |
${WRKSRC}/creox/effects_dsp/flangerprocessor.cpp \ |
39 |
${WRKSRC}/creox/effects_dsp/echoprocessor.cpp \ |
40 |
${WRKSRC}/creox/effects_dsp/distortionprocessor.cpp |
41 |
# Fix std::fmaf (remove std:: prefix) |
42 |
@${REINPLACE_CMD} -e 's,std::fmaf,fmaf,' \ |
43 |
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp \ |
44 |
${WRKSRC}/creox/effects_dsp/echoprocessor.cpp |
45 |
# Add missing closing parentheses on line 186 |
46 |
@${REINPLACE_CMD} -e '186s,);,)&,' \ |
47 |
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp |
48 |
|
35 |
|
49 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |