blob: ea86fa51b962983b80717ff87a4062f5b0dc2c05 (
plain) (
blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# ex:ts=8
# Ports collection makefile for: cheesetracker
# Date created: Jan 31, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cheesetracker
PORTVERSION= 0.9.15.4
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
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.8:${PORTSDIR}/math/libgmp4
.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>
|