svn commit: r331360 - head/audio/wildmidi
Tijl Coosemans
tijl at FreeBSD.org
Wed Oct 23 09:59:19 UTC 2013
Author: tijl
Date: Wed Oct 23 09:59:18 2013
New Revision: 331360
URL: http://svnweb.freebsd.org/changeset/ports/331360
Log:
- Change maintainer email address (lost access to previous one).
- Support staging.
- Disable optimisation flags that clang does not support.
- Silence post-patch.
PR: ports/182525
Submitted by: RyoTa SimaMoto <liangtai.s16 at gmail.com> (maintainer)
Added:
head/audio/wildmidi/pkg-plist (contents, props changed)
Modified:
head/audio/wildmidi/Makefile
Directory Properties:
head/audio/wildmidi/distinfo (props changed)
head/audio/wildmidi/pkg-descr (props changed)
Modified: head/audio/wildmidi/Makefile
==============================================================================
--- head/audio/wildmidi/Makefile Wed Oct 23 09:33:10 2013 (r331359)
+++ head/audio/wildmidi/Makefile Wed Oct 23 09:59:18 2013 (r331360)
@@ -1,4 +1,3 @@
-# Created by: SimaMoto,RyoTa <liangtai.s4 at gmail.com>
# $FreeBSD$
PORTNAME= wildmidi
@@ -7,8 +6,8 @@ PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
-MAINTAINER= liangtai.s4 at gmail.com
-COMMENT= A simple software midi player and a core softsynth library
+MAINTAINER= liangtai.s16 at gmail.com
+COMMENT= Simple software midi player and core softsynth library
# player: GPLv3, library: LGPL3
LICENSE= GPLv3 LGPL3
@@ -16,31 +15,25 @@ LICENSE_COMB= multi
MAKE_JOBS_UNSAFE= yes
-UDES= gmake
-NO_STAGE= yes
+USES= compiler gmake
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
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang
+CONFIGURE_ARGS+= --disable-optimize
+.endif
post-patch:
- ${REINPLACE_CMD} 's@/etc/@${DATADIR}/@' \
+ @${REINPLACE_CMD} -e 's@/etc/@${DATADIR}/@' \
${WRKSRC}/docs/wildmidi.1 \
${WRKSRC}/docs/wildmidi.cfg.5
- ${REINPLACE_CMD} -e 's@/usr/local/share/wildmidi/@${DATADIR}/@' \
+ @${REINPLACE_CMD} -e 's@/usr/local/share/wildmidi/@${DATADIR}/@' \
-e 's at default_timifityconf@default_wildmidiconf@' \
- -e 's at -fexpensive-optimizations@@g' \
- -e 's at -finline-limit=32000@@g' \
- -e 's at -frename-registers@@g' \
+ -e 's@$${\(.*\)-unset} = unset at x"$${\1}" = x@' \
${WRKSRC}/configure
- ${REINPLACE_CMD} -e '/WM_MixerOptions/s/ \&\& / \& /' \
+ @${REINPLACE_CMD} -e '/WM_MixerOptions/s/ \&\& / \& /' \
${WRKSRC}/src/wildmidi_lib.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Added: head/audio/wildmidi/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/wildmidi/pkg-plist Wed Oct 23 09:59:18 2013 (r331360)
@@ -0,0 +1,18 @@
+bin/wildmidi
+include/wildmidi_lib.h
+lib/libWildMidi.la
+lib/libWildMidi.so.2
+lib/libWildMidi.so
+man/man1/wildmidi.1.gz
+man/man3/WildMidi_Close.3.gz
+man/man3/WildMidi_FastSeek.3.gz
+man/man3/WildMidi_GetInfo.3.gz
+man/man3/WildMidi_GetOutput.3.gz
+man/man3/WildMidi_GetString.3.gz
+man/man3/WildMidi_Init.3.gz
+man/man3/WildMidi_MasterVolume.3.gz
+man/man3/WildMidi_Open.3.gz
+man/man3/WildMidi_OpenBuffer.3.gz
+man/man3/WildMidi_SetOption.3.gz
+man/man3/WildMidi_Shutdown.3.gz
+man/man5/wildmidi.cfg.5.gz
More information about the svn-ports-all
mailing list