freebsd-ports/audio/cheesetracker/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

62 lines
1.6 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: cheesetracker
# Date created: Jan 31, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cheesetracker
PORTVERSION= 0.9.15.4
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An Impulse Tracker clone
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
USE_BZIP2= yes
USE_QT_VER= 3
USE_SCONS= yes
SCONS_BUILDENV= CXX="${CXX}" QTDIR="${QT_PREFIX}"
PORTEXAMPLES= beek-dolphinisland.it ll-globule.it reduz-maschizo.it \
xerxes-mfc.xm
PLIST_FILES= bin/cheesetracker_qt
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
BROKEN= Does not compile on alpha
.endif
.if ${ARCH} != "i386"
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
.endif
.if ${OSVERSION} < 600020
BROKEN= Requires MSG_NOSIGNAL
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%CXXFLAGS%%|${CXXFLAGS}| ; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%QT_PREFIX%%|${QT_PREFIX}|' ${WRKSRC}/detect.py
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cheesetracker/program__QT/cheesetracker_qt ${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/cheesetracker/examples/*.it ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/cheesetracker/examples/*.xm ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>