pkgsrc/audio/pd/Makefile
wiz 510f0d7ab5 Initial import of pd-0.43.0.
Pd (aka Pure Data) is a real-time graphical programming environment
for audio, video, and graphical processing. It is the third major
branch of the family of patcher programming languages known as Max
(Max/FTS, ISPW Max, Max/MSP, jMax, etc.) originally developed by
Miller Puckette and company at IRCAM. The core of Pd is written
and maintained by Miller Puckette and includes the work of many
developers, making the whole package very much a community effort.

Pd was created to explore ideas of how to further refine the Max
paradigm with the core ideas of allowing data to be treated in a
more open-ended way and opening it up to applications outside of
audio and MIDI, such as graphics and video.

It is easy to extend Pd by writing object classes ("externals") or
patches ("abstractions"). The work of many developers is already
available as part of the standard Pd packages and the Pd developer
community is growing rapidly. Recent developments include a system
of abstractions for building performance environments; a library
of objects for physical modeling; and a library of objects for
generating and processing video in realtime.
2011-09-15 01:05:04 +00:00

63 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
#
DISTNAME= pd-0.43-0.src
PKGNAME= ${DISTNAME:S/-0.src/.0/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pure-data/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://puredata.info/
COMMENT= Real-time graphical programming environment for audio+video
LICENSE= modified-bsd
DEPENDS+= tcl-[0-9]*:../../lang/tcl
DEPENDS+= tk-[0-9]*:../../x11/tk
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/pd-0.43-0
USE_TOOLS+= autoconf automake gmake msgfmt pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= pd.pc.in
SUBST_CLASSES+= tclsh
SUBST_SED.tclsh= -e "s,/usr/bin/tclsh,${PREFIX}/bin/tclsh,"
SUBST_MESSAGE.tclsh= Fix path to tclsh.
SUBST_STAGE.tclsh= pre-build
SUBST_FILES.tclsh= tcl/pkg_mkIndex.tcl
SUBST_CLASSES+= device
SUBST_SED.device= -e "s,/dev/dsp,${DEVOSSAUDIO},"
SUBST_MESSAGE.device= Fix path to audio device.
SUBST_STAGE.device= pre-build
SUBST_FILES.device= src/s_audio_oss.c
SUBST_CLASSES+= doc
SUBST_SED.doc= -e "s,\\.\\./doc/,${PREFIX}/share/doc/pd/doc/,"
SUBST_SED.doc+= -e "s,.::sys_libdir/doc/,${PREFIX}/share/doc/pd/doc/,"
SUBST_SED.doc+= -e "s,menu_doc_open doc/,menu_doc_open ${PREFIX}/share/doc/pd/doc/,"
SUBST_SED.doc+= -e "s,/doc/5.reference,/share/doc/pd/doc/5.reference,"
SUBST_SED.doc+= -e "s,PD_BASEDIR/doc/,${PREFIX}/share/doc/pd/doc/,"
SUBST_SED.doc+= -e "s,/usr/local/bin/pd/doc/,${PREFIX}/share/doc/pd/doc/,"
SUBST_SED.doc+= -e "s,/usr/bin/pd/doc/,${PREFIX}/share/doc/pd/doc/,"
SUBST_MESSAGE.doc= Fix path to docs.
SUBST_STAGE.doc= pre-build
SUBST_FILES.doc= doc/1.manual/1.introduction.txt
SUBST_FILES.doc+= doc/4.data.structures/14.partialtracer.pd
SUBST_FILES.doc+= extra/loop~/loop~-help.pd
SUBST_FILES.doc+= extra/loop~/test-loop~.pd
SUBST_FILES.doc+= man/pd.1
SUBST_FILES.doc+= src/s_main.c
SUBST_FILES.doc+= tcl/pd_menucommands.tcl
SUBST_FILES.doc+= tcl/pd_menus.tcl
pre-configure:
cd ${WRKSRC} && ./autogen.sh
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"