From 00d46342115a78b5c8254ee7a08c6ffdbf1f7b2d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 26 Sep 2015 20:26:21 +0000 Subject: Convert my ports to USES=localbase --- audio/alsa-plugins/Makefile | 4 +--- audio/alsa-utils/Makefile | 5 ++--- audio/wavbreaker/Makefile | 4 +--- devel/android-tools-fastboot/Makefile | 4 +--- emulators/ppsspp/Makefile | 3 +-- emulators/xsystem35/Makefile | 4 +--- multimedia/libmtp/Makefile | 5 +---- net-p2p/transmission-cli/Makefile | 5 ++--- sysutils/fusefs-simple-mtpfs/Makefile | 4 +--- 9 files changed, 11 insertions(+), 27 deletions(-) diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile index b23d52cd7d4f..38128490ea7e 100644 --- a/audio/alsa-plugins/Makefile +++ b/audio/alsa-plugins/Makefile @@ -15,11 +15,10 @@ LICENSE= LGPL21 # or any later version LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib GNU_CONFIGURE= yes -USES= alias libtool:keepla pkgconfig tar:bzip2 +USES= alias libtool:keepla localbase pkgconfig tar:bzip2 EXTRA_PATCHES+= ${FILESDIR}/alsa-plugins.patch INSTALL_TARGET= install-strip CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files -LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFAULT=IO_PTR OPTIONS_DEFINE= JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX @@ -44,7 +43,6 @@ JACK_IMPLIES= SAMPLERATE FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE=avcodec -FFMPEG_CPPFLAGS= -I${LOCALBASE}/include PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE=pulseaudio diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile index 3144452753f3..a5263ddc7de4 100644 --- a/audio/alsa-utils/Makefile +++ b/audio/alsa-utils/Makefile @@ -15,13 +15,12 @@ LICENSE= GPLv2 # or any later version LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins -USES= gmake shebangfix tar:bzip2 +USES= gmake localbase shebangfix tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-udev-rules-dir="\$${prefix}/lib/udev" SHEBANG_FILES= alsa-info/alsa-info.sh alsaconf/alsaconf.in INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include -I${.CURDIR}/../alsa-lib/files -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files OPTIONS_SUB= yes OPTIONS_DEFINE= MANPAGES NLS diff --git a/audio/wavbreaker/Makefile b/audio/wavbreaker/Makefile index 0443ec978599..084e2c78a83f 100644 --- a/audio/wavbreaker/Makefile +++ b/audio/wavbreaker/Makefile @@ -21,10 +21,8 @@ NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls USE_GNOME= gtk20 libxml2 -USES= gmake pathfix pkgconfig desktop-file-utils +USES= desktop-file-utils gmake localbase pathfix pkgconfig GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-alsa INSTALLS_ICONS= yes diff --git a/devel/android-tools-fastboot/Makefile b/devel/android-tools-fastboot/Makefile index 0a0043300427..87d8defbd0d1 100644 --- a/devel/android-tools-fastboot/Makefile +++ b/devel/android-tools-fastboot/Makefile @@ -28,15 +28,13 @@ GH_PROJECT= platform_system_core platform_system_extras:extras \ CONFLICTS_INSTALL?= ${PORTNAME}-devel-* -USES+= uidfix +USES+= localbase uidfix BUILD_WRKSRC= ${WRKSRC}/fastboot INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKEFILE= ${FILESDIR}/Makefile MAKE_ENV= FILESDIR="${FILESDIR}" BINDIR="${PREFIX}/bin" \ MANDIR="${PREFIX}/man/man" \ LIBPCRE="${LOCALBASE}/lib/libpcre.a" -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/fastboot \ %%BASH%%etc/bash_completion.d/fastboot \ man/man1/fastboot.1.gz diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile index 1da0f9435b9c..5d7b75705f06 100644 --- a/emulators/ppsspp/Makefile +++ b/emulators/ppsspp/Makefile @@ -31,7 +31,7 @@ GH_PROJECT+= native:native CONFLICTS_INSTALL?= ${PORTNAME}-devel-[0-9]* -USES= compiler:c++11-lib pkgconfig +USES= compiler:c++11-lib localbase pkgconfig USE_GL+= glu USE_SDL= sdl2 # joystick CMAKE_ARGS= -DUSE_SYSTEM_FFMPEG=on @@ -58,7 +58,6 @@ QT5_USE= QT5=qmake_build,buildtools_build,linguisttools_build,gui,opengl,widgets SDL_USES= cmake:outsource ninja SDL_BUILD_DEPENDS= png>=1.6:${PORTSDIR}/graphics/png SDL_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png -SDL_LDFLAGS= -L${LOCALBASE}/lib # ffmpeg SDL_VARS= PORTDATA+="assets ${PORTNAME}" post-extract: diff --git a/emulators/xsystem35/Makefile b/emulators/xsystem35/Makefile index 458627232500..d57fae4934a6 100644 --- a/emulators/xsystem35/Makefile +++ b/emulators/xsystem35/Makefile @@ -35,7 +35,7 @@ MMX_BUILD_DEPENDS=nasm:${PORTSDIR}/devel/nasm MMX_CONFIGURE_ENABLE=mmx EXTRACT_AFTER_ARGS=--exclude libltdl -USES= gettext gmake jpeg libtool shebangfix +USES= gettext gmake jpeg libtool localbase shebangfix SHEBANG_FILES= contrib/instgame USE_XORG= x11 xext xxf86vm GNU_CONFIGURE= yes @@ -47,8 +47,6 @@ CONFIGURE_ARGS= \ --with-default-output=oss \ --enable-midi=seq,extp,raw \ --enable-cdrom=bsd,mp3 -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_FILES= pkg-message diff --git a/multimedia/libmtp/Makefile b/multimedia/libmtp/Makefile index 1cc954cb07ef..e4bc53e81093 100644 --- a/multimedia/libmtp/Makefile +++ b/multimedia/libmtp/Makefile @@ -21,12 +21,9 @@ MTPZ_DESC= Enable functionality to connect to MTPZ devices GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doxygen INSTALL_TARGET= install-strip -USES= iconv libtool pathfix pkgconfig +USES= iconv libtool localbase pathfix pkgconfig USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - .if !exists(/usr/libdata/pkgconfig/libusb-1.0.pc) CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" .endif diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile index 2e5b1b15b058..f8435c84a350 100644 --- a/net-p2p/transmission-cli/Makefile +++ b/net-p2p/transmission-cli/Makefile @@ -41,11 +41,10 @@ GEN_LIB_DEPENDS=libcurl.so:${PORTSDIR}/ftp/curl \ GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web # This is master port of transmission-*, so don't override USES definition -USES+= gmake iconv libtool pkgconfig +USES+= gmake iconv libtool localbase pkgconfig USE_OPENSSL= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -DWITH_UTP=1 -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -DWITH_UTP=1 LIBS+= ${ICONV_LIB} CONFIGURE_ARGS=--with-zlib=/usr \ --without-inotify \ diff --git a/sysutils/fusefs-simple-mtpfs/Makefile b/sysutils/fusefs-simple-mtpfs/Makefile index 6b8e7c50b445..17d396fc8716 100644 --- a/sysutils/fusefs-simple-mtpfs/Makefile +++ b/sysutils/fusefs-simple-mtpfs/Makefile @@ -16,13 +16,11 @@ LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp USE_GITHUB= yes GH_ACCOUNT= phatina -USES= autoreconf compiler:c++11-lib fuse pkgconfig +USES= autoreconf compiler:c++11-lib fuse localbase pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules MAKEFILE= makefile INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDOCS= AUTHORS NEWS README.md -- cgit v1.2.3