svn commit: r310982 - head/audio/smasher

Max Brazhnikov makc at FreeBSD.org
Fri Jan 25 16:17:53 UTC 2013


Author: makc
Date: Fri Jan 25 16:17:52 2013
New Revision: 310982
URL: http://svnweb.freebsd.org/changeset/ports/310982

Log:
  Trim Makefile header
  Set USE_PKGCONFIG
  Respect PREFIX
  Reformat description
  Sort plist

Modified:
  head/audio/smasher/Makefile   (contents, props changed)
  head/audio/smasher/pkg-descr   (contents, props changed)
  head/audio/smasher/pkg-plist   (contents, props changed)

Modified: head/audio/smasher/Makefile
==============================================================================
--- head/audio/smasher/Makefile	Fri Jan 25 15:21:18 2013	(r310981)
+++ head/audio/smasher/Makefile	Fri Jan 25 16:17:52 2013	(r310982)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	smasher
-# Date created:		22 June 2009
-# Whom:			chris at officialunix.com
-#
+# Created by: chris at officialunix.com
 # $FreeBSD$
-#
 
 PORTNAME=	smasher
 PORTVERSION=	1.1.6
@@ -20,21 +16,18 @@ LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio
 		csound64.5:${PORTSDIR}/audio/csound
 
 GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
+USE_PKGCONFIG=	build
+USE_WX=		yes
+WX_CONF_ARGS=	absolute
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-CONFIGURE_ARGS=	--with-wx-config=${LOCALBASE}/bin/wxgtk2-2.8-config
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-USE_XORG=	x11
-USE_LDCONFIG=	yes
-USE_GMAKE=	yes
-USE_WX=		yes
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${LOCALBASE}/share/pixmaps|g' \
-		${WRKSRC}/src/Makefile.am ${WRKSRC}/src/Makefile.in
-
-	@${REINPLACE_CMD} -e 's|/usr/share/applications|${LOCALBASE}/share/applications|g' \
-		${WRKSRC}/src/Makefile.am ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${PREFIX}/share/pixmaps|g' \
+		-e 's|/usr/share/applications|${DESKTOPDIR}|g' \
+		${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/audio/smasher/pkg-descr
==============================================================================
--- head/audio/smasher/pkg-descr	Fri Jan 25 15:21:18 2013	(r310981)
+++ head/audio/smasher/pkg-descr	Fri Jan 25 16:17:52 2013	(r310982)
@@ -1,6 +1,6 @@
-Cross-platform audio loop slicer designed to create sliced loops from WAV, MP3, 
-FLAC or AIFF files in seconds without a sequencer. 
-
-Effects include filter sweeps, phasing, flanging, delay, and distortion.
+Cross-platform audio loop slicer designed to create sliced loops
+from WAV, MP3, FLAC or AIFF files in seconds without a sequencer.
+Effects include filter sweeps, phasing, flanging, delay, and
+distortion.
 
 WWW: http://smasher.sourceforge.net/

Modified: head/audio/smasher/pkg-plist
==============================================================================
--- head/audio/smasher/pkg-plist	Fri Jan 25 15:21:18 2013	(r310981)
+++ head/audio/smasher/pkg-plist	Fri Jan 25 16:17:52 2013	(r310982)
@@ -1,21 +1,29 @@
 bin/smasher
 bin/smashercsound
+share/applications/smasher.desktop
+share/pixmaps/smasher.png
 %%DATADIR%%/csd/declick.csd
 %%DATADIR%%/csd/enhance.csd
 %%DATADIR%%/csd/eq.csd
 %%DATADIR%%/csd/freeverb.csd
 %%DATADIR%%/csd/pandelay.csd
 %%DATADIR%%/csd/smasher_fx_aux.csd
-%%DATADIR%%/png/media-playlist-shuffle-inv.png
-%%DATADIR%%/png/stock_help-agent.png
+%%DATADIR%%/help/ar01s02.html
+%%DATADIR%%/help/ar01s03.html
+%%DATADIR%%/help/ar01s04.html
+%%DATADIR%%/help/ar01s05.html
+%%DATADIR%%/help/elements.html
+%%DATADIR%%/help/index.html
 %%DATADIR%%/png/edit-clear-gs.png
 %%DATADIR%%/png/edit-redo_gs.png
 %%DATADIR%%/png/edit-undo_gs.png
 %%DATADIR%%/png/fileopen.png
 %%DATADIR%%/png/filesave_gs.png
+%%DATADIR%%/png/gradient-anticlock-spiral_24x24_gauss_gs.png
 %%DATADIR%%/png/gtk-media-play-inv.png
 %%DATADIR%%/png/logviewer_gs.png
 %%DATADIR%%/png/media-playback-pause.png
+%%DATADIR%%/png/media-playlist-shuffle-inv.png
 %%DATADIR%%/png/player_play.png
 %%DATADIR%%/png/player_play_inv.png
 %%DATADIR%%/png/player_stop.png
@@ -26,17 +34,17 @@ bin/smashercsound
 %%DATADIR%%/png/stock_data-previous.png
 %%DATADIR%%/png/stock_draw-line.png
 %%DATADIR%%/png/stock_draw-line_r.png
+%%DATADIR%%/png/stock_help-agent.png
 %%DATADIR%%/png/stock_hyperlink.png
 %%DATADIR%%/png/stock_id.png
+%%DATADIR%%/png/stock_internet_gs.png
 %%DATADIR%%/png/stock_open.png
 %%DATADIR%%/png/stock_repeat.png
 %%DATADIR%%/png/stock_repeat_inv.png
 %%DATADIR%%/png/stock_shuffle.png
-%%DATADIR%%/png/window_nofullscreen_gs.png
-%%DATADIR%%/png/gradient-anticlock-spiral_24x24_gauss_gs.png
 %%DATADIR%%/png/warp.png
 %%DATADIR%%/png/warp4.png
-%%DATADIR%%/png/stock_internet_gs.png
+%%DATADIR%%/png/window_nofullscreen_gs.png
 %%DATADIR%%/presets/amen_break_i.smash
 %%DATADIR%%/presets/amen_break_ii.smash
 %%DATADIR%%/presets/amen_break_iii.smash
@@ -56,20 +64,11 @@ bin/smashercsound
 %%DATADIR%%/samples/John_Williams.wav
 %%DATADIR%%/samples/Sine_Wave.wav
 %%DATADIR%%/xpm/smashericon.xpm
-%%DATADIR%%/help/ar01s02.html
-%%DATADIR%%/help/ar01s03.html
-%%DATADIR%%/help/ar01s04.html
-%%DATADIR%%/help/ar01s05.html
-%%DATADIR%%/help/elements.html
-%%DATADIR%%/help/index.html
-share/applications/smasher.desktop
-share/pixmaps/smasher.png
 @dirrmtry share/applications
- at dirrmtry share/pixmaps
 @dirrm %%DATADIR%%/xpm
 @dirrm %%DATADIR%%/samples
+ at dirrm %%DATADIR%%/presets
 @dirrm %%DATADIR%%/png
 @dirrm %%DATADIR%%/help
- at dirrm %%DATADIR%%/presets
 @dirrm %%DATADIR%%/csd
 @dirrm %%DATADIR%%


More information about the svn-ports-all mailing list