freebsd-ports/audio/wildmidi/Makefile
Michael Scheidell 6d117a2f5b - Correct wrong use of '&&' instead of '&' for logical "bit and"
- Bump PORTREVISION (cause failure on clang build)

PR:		ports/170079
Submitted by:	RyoTa SimaMoto <liangtai.s4@gmail.com> (maintainer)
2012-07-30 18:40:23 +00:00

47 lines
1.3 KiB
Makefile

# New ports collection makefile for: wildmidi
# Date created: 02 Aug 2010
# Whom: SimaMoto,RyoTa <liangtai.s4@gmail.com>
#
# $FreeBSD$
#
PORTNAME= wildmidi
PORTVERSION= 0.2.3.5
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= liangtai.s4@gmail.com
COMMENT= A simple software midi player and a core softsynth library
# player: GPLv3, library: LGPL3
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
MAKE_JOBS_UNSAFE= yes
USE_GZIP= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAN1= wildmidi.1
MAN3= WildMidi_GetString.3 WildMidi_Init.3 WildMidi_MasterVolume.3 \
WildMidi_Open.3 WildMidi_OpenBuffer.3 WildMidi_GetOutput.3 \
WildMidi_SetOption.3 WildMidi_GetInfo.3 WildMidi_FastSeek.3 \
WildMidi_Close.3 WildMidi_Shutdown.3
MAN5= wildmidi.cfg.5
PLIST_FILES= bin/wildmidi include/wildmidi_lib.h \
lib/libWildMidi.la lib/libWildMidi.so.2 lib/libWildMidi.so
post-patch:
${REINPLACE_CMD} 's@/etc/@${DATADIR}/@' \
${WRKSRC}/docs/wildmidi.1 \
${WRKSRC}/docs/wildmidi.cfg.5
${REINPLACE_CMD} -e 's@/usr/local/share/wildmidi/@${DATADIR}/@' \
-e 's@default_timifityconf@default_wildmidiconf@' \
${WRKSRC}/configure
${REINPLACE_CMD} -e '/WM_MixerOptions/s/ \&\& / \& /' \
${WRKSRC}/src/wildmidi_lib.c
.include <bsd.port.mk>