freebsd-ports/audio/tclmidi/Makefile
Pav Lucistnik 2e577dba1c - Fix build with modern gcc
Add placeholder strstream.h file in the workdir, and patch
  some of the Makefile.in's to use the workdir in their include path.

  Rewriting this port to use ISO C++ would maybe be better, but will make the diff
  a lot larger.  Also, the tclmidi program doesn't really seem to be actively
  maintained anyway.

PR:		ports/64310
Submitted by:	Dimitry Andric <dimitry@andric.com>
2004-03-18 16:27:35 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: tclmidi
# Date created: 14 May 1999
# Whom: shanee@augusta.de
#
# $FreeBSD$
#
PORTNAME= tclmidi
PORTVERSION= 3.1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cs.ruu.nl/pub/MIDI/PROGRAMS/
# despite references on the homepage to ftp.xor.com, that server
# doesn't work - edwin 20021227
MAINTAINER= ports@FreeBSD.org
COMMENT= A language designed for creating and editing standard MIDI files
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
.if ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
IGNORE= "ignored due to cast from pointer to integer of different size"
.endif
INSTALLS_SHLIB= yes
MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclsh=${LOCALBASE}/bin/tclsh8.2
MAN1= mplay.1 mrec.1 tclmidi.1 minfo.1 midtotcl.1
MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
midimake.n midimerg.n midiplay.n midiput.n midiread.n \
midirec.n midirew.n midisplt.n midistop.n midiwait.n \
midiwrit.n midivers.n midimove.n midicopy.n mididel.n \
miditrck.n mididev.n miditime.n midifeat.n
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502000
EXTRA_PATCHES= ${PATCHDIR}/smf.patch ${PATCHDIR}/song.patch
post-extract:
@${CP} -f ${FILESDIR}/strstream.h ${WRKSRC}
.endif
post-install:
@${CAT} ${PKGMESSAGE} | ${SED} s#/usr/local#${PREFIX}#g
.include <bsd.port.post.mk>