1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/wildmidi/Makefile
Barbara Guida 8d20446f87 - Added libtool to USES for audio/wildmidi
- Bump PORTREVISION for dependent ports

Approved by:	portsmgr blanket
2014-06-11 21:43:58 +00:00

40 lines
939 B
Makefile

# $FreeBSD$
PORTNAME= wildmidi
PORTVERSION= 0.2.3.5
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= liangtai.s16@gmail.com
COMMENT= Simple software midi player and core softsynth library
# player: GPLv3, library: LGPL3
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
MAKE_JOBS_UNSAFE= yes
USES= compiler gmake libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang
CONFIGURE_ARGS+= --disable-optimize
.endif
post-patch:
@${REINPLACE_CMD} -e '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@' \
-e 's@$${\(.*\)-unset} = unset@x"$${\1}" = x@' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e '/WM_MixerOptions/s/ \&\& / \& /' \
${WRKSRC}/src/wildmidi_lib.c
.include <bsd.port.post.mk>