Convert my ports to USES=localbase

This commit is contained in:
Jan Beich 2015-09-26 20:26:21 +00:00
parent d76aaa0663
commit 00d4634211
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398012
9 changed files with 11 additions and 27 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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 \

View file

@ -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