mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
e4010ab91b
* Use BSDmakefile (and bsd.lib.mk) instead of configure/Makefile.in; * plug some (but not all!) ancient memory leaks; * make use of bsd.tcl.mk (now requires Tcl-8.4 or higher); * fix warnings and 64-bit issues; * bump PORTREVISION. To do: * plug the remaining memory leak (valgrind is priceless!); * fix up the author's tests to uniformly report failure or success and arrange for them to run post-build. Feature safe: yes
47 lines
1.4 KiB
Makefile
47 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
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ringtail.its.monash.edu.au/pub/midi/PROGRAMS/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A language designed for creating and editing standard MIDI files
|
|
|
|
USE_TCL= 84+
|
|
MAKE_ENV= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" TCL_LIBDIR="${TCL_LIBDIR}"
|
|
MAKE_ENV+= TCLSH=${TCLSH} FILESDIR="${FILESDIR}" MAN="${MAN1} ${MANN}"
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_FILES= pkg-message
|
|
MAKE_JOBS_SAFE= yes
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
|
|
|
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
|
|
MANCOMPRESSED= maybe
|
|
|
|
post-build:
|
|
cd ${WRKSRC} && echo pkg_mkIndex . tclmidi31.so | ${TCLSH}
|
|
|
|
pre-su-install:
|
|
.for s in mplay mrec minfo midtotcl
|
|
${SED} 's|/usr/local/bin/tclsh|${TCLSH}|' \
|
|
< ${WRKSRC}/$s.dist > ${PREFIX}/bin/$s
|
|
${CHMOD} 755 ${PREFIX}/bin/$s
|
|
.endfor
|
|
@${CAT} ${PKGMESSAGE}
|
|
${MKDIR} ${PREFIX}/lib/tclmidi
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tclmidi/
|
|
|
|
.include <bsd.port.mk>
|