2013-03-13 12:54:25 +01:00
|
|
|
# Created by: Andreas Kohout <shanee@augusta.de>
|
1999-08-31 10:46:51 +02:00
|
|
|
# $FreeBSD$
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= tclmidi
|
|
|
|
PORTVERSION= 3.1
|
2012-04-11 08:18:00 +02:00
|
|
|
PORTREVISION= 1
|
2000-04-08 23:25:03 +02:00
|
|
|
CATEGORIES= audio
|
2012-04-11 08:18:00 +02:00
|
|
|
MASTER_SITES= http://ringtail.its.monash.edu.au/pub/midi/PROGRAMS/
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-13 12:54:25 +01:00
|
|
|
COMMENT= Language designed for creating and editing standard MIDI files
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2013-09-24 10:21:47 +02:00
|
|
|
USES+= tcl
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2012-04-11 08:18:00 +02:00
|
|
|
MAKE_ENV= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" TCL_LIBDIR="${TCL_LIBDIR}"
|
|
|
|
MAKE_ENV+= TCLSH=${TCLSH} FILESDIR="${FILESDIR}" MAN="${MAN1} ${MANN}"
|
2006-04-01 14:22:23 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message
|
2012-04-11 08:18:00 +02:00
|
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
1999-07-11 22:49:25 +02:00
|
|
|
|
|
|
|
MAN1= mplay.1 mrec.1 tclmidi.1 minfo.1 midtotcl.1
|
|
|
|
MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
|
2013-03-13 12:54:25 +01:00
|
|
|
midimake.n midimerg.n midiplay.n midiput.n midiread.n \
|
1999-07-11 22:49:25 +02:00
|
|
|
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
|
2012-04-11 08:18:00 +02:00
|
|
|
MANCOMPRESSED= maybe
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2013-09-24 10:21:47 +02:00
|
|
|
post-patch:
|
|
|
|
${FIND} ${WRKSRC} -type f | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|iostream.h|iostream|g; s|iomanip.h|iomanip|g'
|
|
|
|
|
2012-04-11 08:18:00 +02:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC} && echo pkg_mkIndex . tclmidi31.so | ${TCLSH}
|
2004-02-05 10:14:45 +01:00
|
|
|
|
2012-04-11 08:18:00 +02:00
|
|
|
pre-su-install:
|
|
|
|
.for s in mplay mrec minfo midtotcl
|
2013-03-13 12:54:25 +01:00
|
|
|
${SED} 's|/usr/local/bin/tclsh|${TCLSH}|' \
|
|
|
|
< ${WRKSRC}/${s}.dist > ${PREFIX}/bin/${s}
|
|
|
|
${CHMOD} 755 ${PREFIX}/bin/${s}
|
2012-04-11 08:18:00 +02:00
|
|
|
.endfor
|
2013-03-13 12:54:25 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/tclmidi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tclmidi
|
|
|
|
@${ECHO_MSG}
|
2006-04-01 14:22:23 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2013-03-13 12:54:25 +01:00
|
|
|
@${ECHO_MSG}
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2012-04-11 08:18:00 +02:00
|
|
|
.include <bsd.port.mk>
|