aboutsummaryrefslogtreecommitdiffstats
path: root/audio/smasher/Makefile
blob: 91b1a6030e5488277e293fbc0140b766e82deaf7 (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
# Created by: chris@officialunix.com
# $FreeBSD$

PORTNAME=   smasher
PORTVERSION=    1.1.6
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-source

MAINTAINER= c.petrik.sosa@gmail.com
COMMENT=    Cross platform audio loop slicer

LIB_DEPENDS=    sndfile.1:${PORTSDIR}/audio/libsndfile \
        mad.2:${PORTSDIR}/audio/libmad \
        csound64.5:${PORTSDIR}/audio/csound

GNU_CONFIGURE=  yes
USES=       pkgconfig
USE_GMAKE=  yes
USE_WX=     yes
WX_CONF_ARGS=   absolute

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${PREFIX}/share/pixmaps|g' \
        -e 's|/usr/share/applications|${DESKTOPDIR}|g' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>