aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cheesetracker/Makefile
blob: 603432933a453206fbd1c3e5ceb6a844a0171c40 (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
# ex:ts=8
# Ports collection makefile for:    cheesetracker
# Date created:         Jan 31, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cheesetracker
PORTVERSION=    0.9.1
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cheesetronic

MAINTAINER= ports@FreeBSD.org
COMMENT=    An Impulse Tracker clone

BUILD_DEPENDS=  ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
        qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS=    sigc-1.2.5:${PORTSDIR}/devel/libsigc++12

USE_QT_VER= 3
MAKE_ENV=   QTDIR="${QT_PREFIX}"

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=     Does not compile on alpha
.endif

post-patch:
    @${CP} ${FILESDIR}/cheesetracker.pro ${WRKSRC}

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
        -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ cheesetracker.pro

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/cheesetracker ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.it ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.xm ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>