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

PORTNAME=   smasher
PORTVERSION=    1.1.7
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Cross platform audio loop slicer

LICENSE=    LGPL20
LICENSE_FILE=   ${WRKSRC}/COPYING.LIB

LIB_DEPENDS=    libsndfile.so:${PORTSDIR}/audio/libsndfile \
        libmad.so:${PORTSDIR}/audio/libmad \
        libcsound64.so:${PORTSDIR}/audio/csound

GNU_CONFIGURE=  yes
USES=       desktop-file-utils gmake pkgconfig
USE_GCC=    yes
USE_WX=     2.8
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>