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
|
|
|
|
2014-05-10 18:04:42 +02:00
|
|
|
USES+= tcl uidfix
|
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
|
|
|
|
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}|' \
|
2014-05-10 18:04:42 +02:00
|
|
|
< ${WRKSRC}/${s}.dist > ${STAGEDIR}${PREFIX}/bin/${s}
|
|
|
|
${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/${s}
|
2012-04-11 08:18:00 +02:00
|
|
|
.endfor
|
2014-05-10 18:04:42 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/tclmidi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/tclmidi
|
1999-07-11 22:49:25 +02:00
|
|
|
|
2012-04-11 08:18:00 +02:00
|
|
|
.include <bsd.port.mk>
|