2002-01-31 09:18:13 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: cheesetracker
|
|
|
|
# Date created: Jan 31, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cheesetracker
|
2008-02-26 11:22:57 +00:00
|
|
|
PORTVERSION= 0.9.15.4
|
2008-06-06 13:08:29 +00:00
|
|
|
PORTREVISION= 1
|
2002-01-31 09:18:13 +00:00
|
|
|
CATEGORIES= audio
|
2007-08-20 15:45:55 +00:00
|
|
|
MASTER_SITES= SF
|
2002-01-31 09:18:13 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= An Impulse Tracker clone
|
2002-01-31 09:18:13 +00:00
|
|
|
|
2004-02-26 20:59:36 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
|
|
|
|
qmake:${PORTSDIR}/devel/qmake
|
2007-08-20 15:45:55 +00:00
|
|
|
LIB_DEPENDS= jack.0:${PORTSDIR}/audio/jack \
|
|
|
|
audiofile.0:${PORTSDIR}/audio/libaudiofile \
|
|
|
|
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
|
2002-01-31 09:18:13 +00:00
|
|
|
|
2007-08-20 15:45:55 +00:00
|
|
|
USE_BZIP2= yes
|
2003-07-28 05:56:13 +00:00
|
|
|
USE_QT_VER= 3
|
2007-03-29 13:20:59 +00:00
|
|
|
USE_SCONS= yes
|
2008-02-26 11:22:57 +00:00
|
|
|
SCONS_BUILDENV= CXX="${CXX}" QTDIR="${QT_PREFIX}"
|
2002-12-29 04:36:10 +00:00
|
|
|
|
2007-08-20 15:45:55 +00:00
|
|
|
PORTEXAMPLES= beek-dolphinisland.it ll-globule.it reduz-maschizo.it \
|
|
|
|
xerxes-mfc.xm
|
|
|
|
PLIST_FILES= bin/cheesetracker_qt
|
|
|
|
|
2005-01-02 00:46:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "alpha"
|
2006-06-21 20:28:24 +00:00
|
|
|
BROKEN= Does not compile on alpha
|
2005-01-02 00:46:39 +00:00
|
|
|
.endif
|
|
|
|
|
2007-08-20 15:45:55 +00:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
.endif
|
|
|
|
|
2002-12-29 04:36:10 +00:00
|
|
|
post-patch:
|
2007-08-20 15:45:55 +00:00
|
|
|
@${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
|
2003-07-28 05:56:13 +00:00
|
|
|
|
|
|
|
do-install:
|
2007-03-29 13:20:59 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cheesetracker/program__QT/cheesetracker_qt ${PREFIX}/bin
|
2007-08-20 15:45:55 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2003-07-28 05:56:13 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2007-03-29 13:20:59 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/cheesetracker/examples/*.it ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cheesetracker/examples/*.xm ${EXAMPLESDIR}
|
2003-07-28 05:56:13 +00:00
|
|
|
.endif
|
2002-01-31 09:18:13 +00:00
|
|
|
|
2005-01-02 00:46:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|