pkgsrc/audio/spiralloops/Makefile
gdt 9cd69adaaf Depend on x11/fltk13 rather than x11/fltk.
As discussed on pkgsrc-users, x11/ftlk (1.1) is no longer maintained,
and 1.3 is believed to be almost entirely compatible.

Patch from Tim Larson, who has build-tested these packages on
NetBSD/amd64.
2012-11-15 13:44:13 +00:00

34 lines
985 B
Makefile

# $NetBSD: Makefile,v 1.35 2012/11/15 13:44:13 gdt Exp $
#
DISTNAME= SpiralLoops-2.0.0
PKGNAME= spiralloops-2.0.0
PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://www.pawfal.org/Software/SpiralLoops/dload/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pawfal.org/Software/SpiralLoops/
COMMENT= Loop based sampler
# only runs correctly on little-endian machines
ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \
*-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \
*-*-vax *-*-x86_64
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
MAKE_ENV+= CXXFLAGS=${CXXFLAGS:M*:Q}
CXXFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
CXXFLAGS+= -DFLTK_1_0_COMPAT
CXXFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${DESTDIR}${PREFIX}/bin
.include "../../x11/fltk13/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"