diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-07 14:45:39 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-07 14:45:39 +0800 |
commit | e286866d1ad7053987b8699d1355aae9063f71f0 (patch) | |
tree | 0f5dd8fc023d3dda43cf61eccf2f86d7e2dd7ca4 | |
parent | 93d0bd4c8ef9cdadabad93879a9ec167057d4a58 (diff) | |
download | freebsd-ports-gnome-e286866d1ad7053987b8699d1355aae9063f71f0.tar.gz freebsd-ports-gnome-e286866d1ad7053987b8699d1355aae9063f71f0.tar.zst freebsd-ports-gnome-e286866d1ad7053987b8699d1355aae9063f71f0.zip |
Use shebangfix
-rw-r--r-- | audio/abcde/Makefile | 6 | ||||
-rw-r--r-- | audio/deadbeef/Makefile | 5 | ||||
-rw-r--r-- | audio/jack-rack/Makefile | 4 | ||||
-rw-r--r-- | audio/last.fm/Makefile | 11 | ||||
-rw-r--r-- | audio/muine/Makefile | 14 |
5 files changed, 15 insertions, 25 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile index 5d8e6128dd61..f02ccd8da993 100644 --- a/audio/abcde/Makefile +++ b/audio/abcde/Makefile @@ -30,6 +30,9 @@ EJECT_DESC?= Enable auto-eject support NORMALIZE_DESC?= Enable normalize support REPLAYGAIN_DESC?= Enable (vorbis|mp3)gain support +USES= shebangfix +SHEBANG_FILES= ${PORTNAME} cddb-tool + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCDDA2WAV} @@ -73,10 +76,7 @@ post-patch: ${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \ ${WRKSRC}/abcde.1 ${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \ - -e 's#/bin/bash#${LOCALBASE}/bin/bash#g' \ ${WRKSRC}/abcde - ${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/bin/bash#g' \ - ${WRKSRC}/cddb-tool do-install: ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile index 09089ad28387..85e70c44debb 100644 --- a/audio/deadbeef/Makefile +++ b/audio/deadbeef/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= samplerate:${PORTSDIR}/audio/libsamplerate \ execinfo:${PORTSDIR}/devel/libexecinfo GNU_CONFIGURE= yes -USES= pkgconfig gettext iconv +USES= pkgconfig gettext iconv shebangfix USE_GMAKE= yes USE_LDCONFIG= yes USE_BZIP2= yes @@ -29,6 +29,7 @@ WANT_GNOME= yes INSTALLS_ICONS= yes MAKE_JOBS_SAFE= yes CONFIGURE_ENV+= CONFIG_SHELL="${LOCALBASE}/bin/bash" +SHEBANG_FILES= yasmwrapper.sh OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART EQ SID FFAP VTX HOTKEYS VORBIS FFMPEG \ FLAC SNDFILE WAV CDDA GME DUMB NOTIFY MUSEPACK WILD TTA DCA AAC \ @@ -357,8 +358,6 @@ post-patch: ${WRKSRC}/plugins/gme/Makefile.in \ ${WRKSRC}/plugins/sid/Makefile.in \ ${WRKSRC}/plugins/supereq/Makefile.in - @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' \ - ${WRKSRC}/yasmwrapper.sh @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c diff --git a/audio/jack-rack/Makefile b/audio/jack-rack/Makefile index cfd9b87f86d9..71aaf82cfadd 100644 --- a/audio/jack-rack/Makefile +++ b/audio/jack-rack/Makefile @@ -17,16 +17,16 @@ RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa USE_BZIP2= yes USE_GNOME= libgnomeui libxml2 -USES= gettext +USES= gettext shebangfix USE_PYTHON= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-ladcca --disable-lash --disable-aseq +SHEBANG_FILES= ecarack post-patch: @${REINPLACE_CMD} -e '/^jr_desktop_install/ s|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/ecarack .include <bsd.port.mk> diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile index 4ab826789625..c8452c6e7d8f 100644 --- a/audio/last.fm/Makefile +++ b/audio/last.fm/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: last.fm -# Date created: February 5th, 2007 -# Whom: Michael Nottebrock <lofi@freebsd.org> -# +# Created by: Michael Nottebrock <lofi@freebsd.org> # $FreeBSD$ -# PORTNAME= last.fm PORTVERSION= 1.5.4.26862 @@ -27,12 +23,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-deinstall SUB_FILES= pkg-install pkg-deinstall +USES= shebangfix USE_BZIP2= yes USE_QT4= gui imageformats_run moc_build network qmake_build rcc_build \ sql uic_build xml HAS_CONFIGURE= yes USE_LDCONFIG= yes USE_DOS2UNIX= *.h +SHEBANG_FILES= dist/tarball_files/configure WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -44,8 +42,7 @@ USE_GCC=4.2+ post-patch: ${CP} ${WRKSRC}/dist/tarball_files/configure ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's|/bin/bash|/${LOCALBASE}/bin/bash|g' \ - -E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \ + ${REINPLACE_CMD} -E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \ -e 's|function header|header()|g' \ -e 's|function middle|middle()|g' \ -e 's|-pthread|-pthread -R/usr/local/share/last.fm|g' \ diff --git a/audio/muine/Makefile b/audio/muine/Makefile index 5cc2c4c8c12f..6645273a1f9c 100644 --- a/audio/muine/Makefile +++ b/audio/muine/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: muine -# Date created: 20040615 -# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> -# +# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org> # $FreeBSD$ # $Id: Makefile,v 1.54 2007/01/26 03:17:25 tmclau02 Exp $ -# PORTNAME= muine PORTVERSION= 0.8.11 @@ -24,20 +20,18 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-glib-1.0.pc:${PORTSDIR} RUN_DEPENDS:= ${BUILD_DEPENDS} USE_GMAKE= yes -USES= gettext +USES= gettext shebangfix USE_GNOME= gnomeprefix gnomehack intltool libgnomeui gnomesharp20 USE_GSTREAMER= gconf USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes +SHEBANG_FILES= src/muine.in +bash_CMD= ${SETENV} bash CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= muine.schemas -post-patch: - @${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|g' \ - ${WRKSRC}/src/muine.in - .include <bsd.port.mk> |