svn commit: r398739 - head/audio/sdl_mixer
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 7 01:37:40 UTC 2015
Author: amdmi3
Date: Wed Oct 7 01:37:39 2015
New Revision: 398739
URL: https://svnweb.freebsd.org/changeset/ports/398739
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/audio/sdl_mixer/Makefile
Modified: head/audio/sdl_mixer/Makefile
==============================================================================
--- head/audio/sdl_mixer/Makefile Wed Oct 7 01:37:32 2015 (r398738)
+++ head/audio/sdl_mixer/Makefile Wed Oct 7 01:37:39 2015 (r398739)
@@ -47,15 +47,11 @@ SMPEG_CONFIGURE_ENABLE= music-mp3
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_ENABLE= music-ogg
-.include <bsd.port.options.mk>
+TIMIDITYPLUS_RUN_DEPENDS= ${LOCALBASE}/share/timidity/timidity.cfg-eawpats:${PORTSDIR}/audio/eawpats
+TIMIDITYPLUS_VARS= CONFIG_FILE=${LOCALBASE}/share/timidity/timidity.cfg-eawpats
-.if ${PORT_OPTIONS:MTIMIDITYPLUS}
-RUN_DEPENDS+= ${LOCALBASE}/share/timidity/timidity.cfg-eawpats:${PORTSDIR}/audio/eawpats
-CONFIG_FILE= ${LOCALBASE}/share/timidity/timidity.cfg-eawpats
-.else
-RUN_DEPENDS+= ${LOCALBASE}/lib/timidity/timidity.cfg:${PORTSDIR}/audio/timidity
-CONFIG_FILE= ${LOCALBASE}/lib/timidity/timidity.cfg
-.endif
+TIMIDITYPLUS_RUN_DEPENDS_OFF= ${LOCALBASE}/lib/timidity/timidity.cfg:${PORTSDIR}/audio/timidity
+TIMIDITYPLUS_VARS_OFF= CONFIG_FILE=${LOCALBASE}/lib/timidity/timidity.cfg
post-patch:
@${REINPLACE_CMD} -e 's|\($$(prefix)/libdata/pkgconfig\)|$$(DESTDIR)\1|' \
More information about the svn-ports-head
mailing list