- Use ARCH instead of MACHINE_ARCH

- Add a new mirror site

PR:		ports/122424
Submitted by:	Ganael Laplanche <ganael.laplanche at martymac.com>

- As 5.2-RELEASE is no longer supported, make two conditional patches
  mandatory
- Move patching to post-patch target instead of post-extract, so that we
  can get unmodified vendor version with `make extract'
This commit is contained in:
Rong-En Fan 2008-04-04 15:55:11 +00:00
parent 61896c8386
commit 2fb1239a49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210523
3 changed files with 5 additions and 8 deletions

View File

@ -8,7 +8,8 @@
PORTNAME= tclmidi
PORTVERSION= 3.1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cs.ruu.nl/pub/MIDI/PROGRAMS/
MASTER_SITES= ftp://ftp.cs.ruu.nl/pub/MIDI/PROGRAMS/ \
http://ringtail.its.monash.edu.au/pub/midi/PROGRAMS/
# despite references on the homepage to ftp.xor.com, that server
# doesn't work - edwin 20021227
@ -32,16 +33,12 @@ MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
.include <bsd.port.pre.mk>
.if ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
IGNORE= "ignored due to cast from pointer to integer of different size"
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
IGNORE= ignored due to cast from pointer to integer of different size
.endif
.if ${OSVERSION} >= 502000
EXTRA_PATCHES= ${PATCHDIR}/smf.patch ${PATCHDIR}/song.patch
post-extract:
post-patch:
@${CP} -f ${FILESDIR}/strstream.h ${WRKSRC}
.endif
post-install:
@${CAT} ${PKGMESSAGE}