blob: 91cc229750f06c01e5a1515a2043b36a1471317d (
plain)
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= 5
CATEGORIES= audio
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= Cross platform audio loop slicer
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= 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>
|