2009-07-09 03:25:56 +00:00
|
|
|
# New ports collection makefile for: smasher
|
|
|
|
# Date created: 22 June 2009
|
|
|
|
# Whom: chris@officialunix.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= smasher
|
2009-12-21 20:53:43 +00:00
|
|
|
PORTVERSION= 1.1.6
|
2010-03-28 06:47:48 +00:00
|
|
|
PORTREVISION= 2
|
2009-07-09 03:25:56 +00:00
|
|
|
CATEGORIES= audio
|
2009-12-21 20:53:43 +00:00
|
|
|
MASTER_SITES= SF
|
2009-07-09 03:25:56 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
|
|
|
|
2011-03-02 23:59:52 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-07-09 03:25:56 +00:00
|
|
|
COMMENT= Cross platform audio loop slicer
|
|
|
|
|
|
|
|
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
|
2009-12-21 20:53:43 +00:00
|
|
|
mad.2:${PORTSDIR}/audio/libmad \
|
|
|
|
csound64.5:${PORTSDIR}/audio/csound
|
2009-07-09 03:25:56 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2009-07-13 18:49:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
CONFIGURE_ARGS= --with-wx-config=${LOCALBASE}/bin/wxgtk2-2.8-config
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-07-09 03:25:56 +00:00
|
|
|
|
|
|
|
USE_XORG= x11
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_WX= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${LOCALBASE}/share/pixmaps|g' \
|
|
|
|
${WRKSRC}/src/Makefile.am ${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/applications|${LOCALBASE}/share/applications|g' \
|
|
|
|
${WRKSRC}/src/Makefile.am ${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-07-13 18:49:10 +00:00
|
|
|
.if ${OSVERSION} <= 700000
|
|
|
|
BROKEN= does not compile
|
2009-07-09 03:25:56 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|