mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
8558ca7184
was released in 2007 and KDE 3.5.10 in 2008 and both are no longer maintained upstream nor in our tree. - Set EXPIRATION_DATE to 2013-07-01 Discussed with: bapt, tabthorpe
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# New ports collection makefile for: Creox
|
|
# Date created: 18 Aug 2009
|
|
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= creox
|
|
DISTVERSION= 0.2.2rc2
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= http://zyzstar.kosoru.com/projects/creox/downloads/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A real-time sound processor
|
|
|
|
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack
|
|
|
|
DEPRECATED= Depends on QT3; unmaintained
|
|
EXPIRATION_DATE= 2013-07-01
|
|
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_GETTEXT= yes
|
|
USE_KDELIBS_VER=3
|
|
INSTALLS_ICONS= yes
|
|
|
|
post-patch:
|
|
# Fix bogus test(1) syntax and remove superfluous -O2
|
|
@${REINPLACE_CMD} -E 's,(if \[ [[:graph:]]+ )==,\1=, ; \
|
|
s,-O2,,' ${WRKSRC}/configure
|
|
# FreeBSD does not have exp10f(3), use powf(3) instead
|
|
@${REINPLACE_CMD} -e 's|exp10f(|powf(10., |' \
|
|
${WRKSRC}/creox/dsp_flow/threadeffector.cpp \
|
|
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp \
|
|
${WRKSRC}/creox/effects_dsp/phaserprocessor.cpp \
|
|
${WRKSRC}/creox/effects_dsp/flangerprocessor.cpp \
|
|
${WRKSRC}/creox/effects_dsp/echoprocessor.cpp \
|
|
${WRKSRC}/creox/effects_dsp/distortionprocessor.cpp
|
|
# Fix std::fmaf (remove std:: prefix)
|
|
@${REINPLACE_CMD} -e 's,std::fmaf,fmaf,' \
|
|
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp \
|
|
${WRKSRC}/creox/effects_dsp/echoprocessor.cpp
|
|
# Add missing closing parentheses on line 186
|
|
@${REINPLACE_CMD} -e '186s,);,)&,' \
|
|
${WRKSRC}/creox/effects_dsp/tremoloprocessor.cpp
|
|
|
|
.include <bsd.port.mk>
|