2009-03-19 18:28:51 +01:00
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$
#
# Please view me with 4 column tabs!
# This section defines possible names of linux infrastructure ports
# (components) and all information necessary for ports to use those components.
#
# Ports can use this as follows:
#
# USE_LINUX_APPS= esound xorglibs
#
# .include <bsd.port.mk>
#
# As a result proper RUN_DEPENDS will be added.
#
# Variables:
# LINUX_DIST_SUFFIX - Contains the value which is added to a port's name
# (i.e. linux<this_variable>-port ) to get the right
# linux infrastructure port.
# _ALL_LINUX_APPS - A (sorted) list of all linux infrastructure ports
# (components), covered here.
2009-04-01 17:25:39 +02:00
# OVERRIDE_LINUX_NONBASE_PORTS
# - This specifies a none-default linux infrastructure ports to use.
2011-04-18 15:07:21 +02:00
# The valid value is "f10" to use Linux Fedora 10 ports.
2009-04-01 17:25:39 +02:00
# This is an user-only variable. Don't use it in any port,
# it's meant to be used in make.conf.
2009-03-19 18:28:51 +01:00
. i f ! d e f i n e d ( _ P O S T M K I N C L U D E D ) & & ! d e f i n e d ( L i n u x _ A P P S _ P r e _ I n c l u d e )
Linux_APPS_Include_MAINTAINER = emulation@FreeBSD.org
Linux_APPS_Pre_Include = bsd.linux-apps.mk
. e n d i f
. i f d e f i n e d ( _ P O S T M K I N C L U D E D ) & & ! d e f i n e d ( L i n u x _ A P P S _ P o s t _ I n c l u d e )
Linux_APPS_Post_Include = bsd.linux-apps.mk
2009-04-01 17:25:39 +02:00
# OVERRIDE_LINUX_NONBASE_PORTS may be used only with LINUX_OSRELEASE=2.6.16
. i f (${LINUX_OSRELEASE} = = "2.6.16" ) && defined( OVERRIDE_LINUX_NONBASE_PORTS)
2011-04-18 15:07:21 +02:00
. i f ${OVERRIDE_LINUX_NONBASE_PORTS} = = "f10"
2009-06-01 19:26:31 +02:00
LINUX_DIST_SUFFIX = -f10
2009-04-01 17:25:39 +02:00
. e l s e
2011-04-18 15:07:21 +02:00
IGNORE = valid values for OVERRIDE_LINUX_NONBASE_PORTS are: \" f10\"
2009-04-01 17:25:39 +02:00
. e n d i f
2011-02-25 12:00:59 +01:00
. e l i f $ { O S V E R S I O N } < 8 0 0 0 7 6 | | ${LINUX_OSRELEASE} = = "2.4.2"
2009-06-26 19:03:48 +02:00
# default for OSVERSION < 800076
2009-03-19 18:28:51 +01:00
LINUX_DIST_SUFFIX =
2009-06-26 19:03:48 +02:00
. e l s e
# default for OSVERSION >= 800076
LINUX_DIST_SUFFIX = -f10
2009-04-01 17:25:39 +02:00
. e n d i f
2009-03-19 18:28:51 +01:00
WEB_AUTH = nvu
# Non-version specific components
2009-04-09 18:36:29 +02:00
_LINUX_APPS_ALL = allegro alsalib arts aspell atk cairo curl dri esound expat fontconfig \
2009-03-19 18:28:51 +01:00
freealut gdkpixbuf gtk gtk2 hicontheme imlib jpeg libaudiofile \
2009-04-10 16:43:59 +02:00
libg2c libglade libglade2 libglu libmng libogg libsigcpp20 libtheora \
2009-09-01 13:41:42 +02:00
libvorbis libxml libxml2 mikmod naslibs openal openmotif openssl pango png png10 qt33 \
2009-04-06 23:47:10 +02:00
scimgtk scimlibs sdl12 sdlimage sdlmixer tiff xorglibs ucl ungif upx webauth
2009-03-19 18:28:51 +01:00
# 2.4.2 components
_LINUX_APPS_ALL +=
# 2.6.16 components
2011-04-28 22:00:24 +02:00
_LINUX_26_APPS = alsa-plugins-oss blt cyrus-sasl2 dbusglib dbuslibs \
2011-05-06 14:21:44 +02:00
libasyncns libidn libssh2 libv4l nspr nss openal-soft \
2011-04-26 22:17:14 +02:00
openldap pulseaudio-libs sqlite3 tcl84 tk84
2009-04-06 23:47:10 +02:00
2009-04-08 08:26:31 +02:00
_LINUX_APPS_ALL += ${ _LINUX_26_APPS }
2009-04-06 23:47:10 +02:00
# Let's check if components from USE_LINUX_APPS exist at _LINUX_26_APPS for LINUX_DIST_SUFFIX:=""
. i f ${LINUX_DIST_SUFFIX} = = ""
2009-04-07 18:13:53 +02:00
. f o r c o m p o n e n t i n $ { U S E _ L I N U X _ A P P S }
2009-04-06 23:47:10 +02:00
. if ${_LINUX_26_APPS : M ${component }}!=""
2011-04-18 15:07:21 +02:00
IGNORE = bsd.linux-apps.mk test failed: The component ${ component } can be used with at least linux_base-f10
2009-04-06 23:47:10 +02:00
. e n d i f
. e n d f o r
. e n d i f
2009-03-19 18:28:51 +01:00
# Component definition section
#
2009-04-01 17:25:39 +02:00
# component${LINUX_DIST_SUFFIX:S/-/_/}_FILE
2009-03-19 18:28:51 +01:00
# - Variables are used to name a file to check,
# file names may differ for different LINUX_DIST_SUFFIX.
# The value is LINUX_DIST_SUFFIX without the leading dash.
# component_DETECT - The resulting file to check for a dependency existence.
# component_PORT - A port which will be used to install a missing dependency.
# component_DEPENDS - A list of components the current component depends on.
allegro_FILE = ${ LINUXBASE } /usr/lib/liballeg-4.0.3.so
2009-06-01 19:26:31 +02:00
allegro_f10_FILE = ${ LINUXBASE } /usr/lib/liballeg-4.2.2.so
2009-04-01 17:25:39 +02:00
allegro_DETECT = ${ allegro ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
allegro_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -allegro
allegro_DEPENDS = xorglibs
2011-04-28 22:00:24 +02:00
# no_alsa-plugins-oss_FILE
alsa-plugins-oss_f10_FILE = ${ LINUXBASE } /usr/lib/alsa-lib/libasound_module_pcm_oss.so
alsa-plugins-oss_DETECT = ${ alsa -plugins-oss ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
alsa-plugins-oss_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -alsa-plugins-oss
alsa-plugins-oss_DEPENDS = alsalib
2009-03-19 18:28:51 +01:00
alsalib_FILE = ${ LINUXBASE } /lib/libasound.so.2.0.0
2009-06-01 19:26:31 +02:00
alsalib_f10_FILE = ${ LINUXBASE } /lib/libasound.so.2.0.0
2009-04-01 17:25:39 +02:00
alsalib_DETECT = ${ alsalib ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
alsalib_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -alsa-lib
arts_FILE = ${ LINUXBASE } /usr/lib/libartsc.so.0
2009-06-01 19:26:31 +02:00
arts_f10_FILE = ${ LINUXBASE } /usr/lib/libartsc.so.0
2009-04-01 17:25:39 +02:00
arts_DETECT = ${ arts ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
arts_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -arts
aspell_FILE = ${ LINUXBASE } /usr/lib/libaspell.so.15.0.2
2009-06-01 19:26:31 +02:00
aspell_f10_FILE = ${ LINUXBASE } /usr/lib/libaspell.so.15.1.4
2009-04-01 17:25:39 +02:00
aspell_DETECT = ${ aspell ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
aspell_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -aspell
atk_FILE = ${ LINUXBASE } /usr/lib/libatk-1.0.so.0.901.0
2009-06-01 19:26:31 +02:00
atk_f10_FILE = ${ LINUXBASE } /usr/lib/libatk-1.0.so.0.2409.1
2009-04-01 17:25:39 +02:00
atk_DETECT = ${ atk ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
atk_PORT = ${ PORTSDIR } /accessibility/linux${ LINUX_DIST_SUFFIX } -atk
2009-08-31 13:46:57 +02:00
blt_f10_FILE = ${ LINUXBASE } /usr/lib/libBLT24.so
blt_DETECT = ${ blt ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
blt_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -blt
blt_DEPENDS = tcl84 tk84 xorglibs
2009-03-19 18:28:51 +01:00
cairo_FILE = ${ LINUXBASE } /usr/lib/libcairo.so.2.2.3
2009-06-01 19:26:31 +02:00
cairo_f10_FILE = ${ LINUXBASE } /usr/lib/libcairo.so.2.10800.0
2009-04-01 17:25:39 +02:00
cairo_DETECT = ${ cairo ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
cairo_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -cairo
cairo_DEPENDS = fontconfig png xorglibs
curl_FILE = ${ LINUXBASE } /usr/lib/libcurl.so.3.0.0
2009-06-01 19:26:31 +02:00
curl_f10_FILE = ${ LINUXBASE } /usr/lib/libcurl.so.4.1.1
2009-04-01 17:25:39 +02:00
curl_DETECT = ${ curl ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
curl_PORT = ${ PORTSDIR } /ftp/linux${ LINUX_DIST_SUFFIX } -curl
2009-07-03 22:58:54 +02:00
. i f ${LINUX_DIST_SUFFIX} = = "-f10"
curl_DEPENDS = cyrus-sasl2 openldap
. e n d i f
2011-04-18 15:07:21 +02:00
# no cyrus-sasl2_FILE
2009-07-03 22:58:54 +02:00
cyrus-sasl2_f10_FILE = ${ LINUXBASE } /usr/lib/libsasl2.so.2.0.22
cyrus-sasl2_DETECT = ${ cyrus -sasl2 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
cyrus-sasl2_PORT = ${ PORTSDIR } /security/linux${ LINUX_DIST_SUFFIX } -cyrus-sasl2
2009-03-19 18:28:51 +01:00
2009-07-28 10:59:53 +02:00
# no dbusglib_FILE
dbusglib_f10_FILE = ${ LINUXBASE } /usr/lib/libdbus-glib-1.so.2
dbusglib_DETECT = ${ dbusglib ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-07-28 16:52:23 +02:00
dbusglib_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -dbus-glib
2009-07-28 10:59:53 +02:00
dbusglib_DEPENDS = dbuslibs expat
# no dbuslibs_FILE
dbuslibs_f10_FILE = ${ LINUXBASE } /lib/libdbus-1.so.3
dbuslibs_DETECT = ${ dbuslibs ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-07-28 16:52:23 +02:00
dbuslibs_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -dbus-libs
2009-07-28 10:59:53 +02:00
2009-04-09 18:36:29 +02:00
dri_FILE = ${ LINUXBASE } /usr/X11R6/lib/libGL.so.1
2009-06-01 19:26:31 +02:00
dri_f10_FILE = ${ LINUXBASE } /usr/lib/libGL.so.1.2
2009-04-09 18:36:29 +02:00
dri_DETECT = ${ dri ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-06-01 19:26:31 +02:00
. i f ${LINUX_DIST_SUFFIX} = = ""
2009-04-09 18:36:29 +02:00
dri_PORT = ${ PORTSDIR } /graphics/linux_dri
2009-06-01 19:26:31 +02:00
. e l s e
dri_PORT = ${ PORTSDIR } /graphics/linux-dri74
. e n d i f
dri_DEPENDS = xorglibs
2009-04-09 18:36:29 +02:00
2009-03-19 18:28:51 +01:00
esound_FILE = ${ LINUXBASE } /usr/lib/libesd.so.0.2.36
2009-06-01 19:26:31 +02:00
esound_f10_FILE = ${ LINUXBASE } /usr/lib/libesd.so.0.2.39
2009-04-01 17:25:39 +02:00
esound_DETECT = ${ esound ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
esound_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -esound
esound_DEPENDS = libaudiofile
expat_FILE = ${ LINUXBASE } /usr/lib/libexpat.so.0
2009-06-01 19:26:31 +02:00
expat_f10_FILE = ${ LINUXBASE } /lib/libexpat.so.1
2009-04-01 17:25:39 +02:00
expat_DETECT = ${ expat ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
expat_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -expat
fontconfig_FILE = ${ LINUXBASE } /usr/lib/libfontconfig.so.1
2009-06-01 19:26:31 +02:00
fontconfig_f10_FILE = ${ LINUXBASE } /usr/lib/libfontconfig.so.1.3.0
2009-04-01 17:25:39 +02:00
fontconfig_DETECT = ${ fontconfig ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
fontconfig_PORT = ${ PORTSDIR } /x11-fonts/linux${ LINUX_DIST_SUFFIX } -fontconfig
fontconfig_DEPENDS = expat
freealut_FILE = ${ LINUXBASE } /usr/lib/libalut.so.0.1.0
2009-06-01 19:26:31 +02:00
freealut_f10_FILE = ${ LINUXBASE } /usr/lib/libalut.so.0.1.0
2009-04-01 17:25:39 +02:00
freealut_DETECT = ${ freealut ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
freealut_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -freealut
freealut_DEPENDS = openal
gdkpixbuf_FILE = ${ LINUXBASE } /usr/lib/libgdk_pixbuf.so.2
2009-06-01 19:26:31 +02:00
gdkpixbuf_f10_FILE = ${ LINUXBASE } /usr/lib/libgdk_pixbuf.so.2
2009-04-01 17:25:39 +02:00
gdkpixbuf_DETECT = ${ gdkpixbuf ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
gdkpixbuf_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -gdk-pixbuf
gtk_FILE = ${ LINUXBASE } /usr/lib/libgtk-1.2.so.0.9.1
2009-06-01 19:26:31 +02:00
gtk_f10_FILE = ${ LINUXBASE } /usr/lib/libgtk-1.2.so.0.9.1
2009-04-01 17:25:39 +02:00
gtk_DETECT = ${ gtk ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
gtk_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -gtk
gtk_DEPENDS = xorglibs
gtk2_FILE = ${ LINUXBASE } /usr/lib/libgtk-x11-2.0.so.0.600.10
2009-06-01 19:26:31 +02:00
gtk2_f10_FILE = ${ LINUXBASE } /usr/lib/libgtk-x11-2.0.so.0.1400.7
2009-04-01 17:25:39 +02:00
gtk2_DETECT = ${ gtk2 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
gtk2_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -gtk2
gtk2_DEPENDS = atk jpeg png pango tiff xorglibs
hicontheme_FILE = ${ LINUXBASE } /usr/share/icons/hicolor
2009-06-01 19:26:31 +02:00
hicontheme_f10_FILE = ${ LINUXBASE } /usr/share/icons/hicolor
2009-04-01 17:25:39 +02:00
hicontheme_DETECT = ${ hicontheme ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
hicontheme_PORT = ${ PORTSDIR } /x11-themes/linux${ LINUX_DIST_SUFFIX } -hicolor-icon-theme
2009-03-19 18:28:51 +01:00
imlib_FILE = ${ LINUXBASE } /usr/lib/libgdk_imlib.so.1.9.13
2009-06-01 19:26:31 +02:00
imlib_f10_FILE = ${ LINUXBASE } /usr/lib/libgdk_imlib.so.1.9.15
2009-04-01 17:25:39 +02:00
imlib_DETECT = ${ imlib ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
imlib_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -imlib
jpeg_FILE = ${ LINUXBASE } /usr/lib/libjpeg.so.62.0.0
2009-06-01 19:26:31 +02:00
jpeg_f10_FILE = ${ LINUXBASE } /usr/lib/libjpeg.so.62.0.0
2009-04-01 17:25:39 +02:00
jpeg_DETECT = ${ jpeg ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
jpeg_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -jpeg
2011-05-06 14:21:44 +02:00
# no libasyncns_FILE (there is no libasyncns port for Fedora 4 distribution)
libasyncns_f10_FILE = ${ LINUXBASE } /usr/lib/libasyncns.so.0.3.1
libasyncns_DETECT = ${ libasyncns ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
libasyncns_PORT = ${ PORTSDIR } /dns/linux${ LINUX_DIST_SUFFIX } -libasyncns
2009-03-19 18:28:51 +01:00
libaudiofile_FILE = ${ LINUXBASE } /usr/lib/libaudiofile.so.0.0.2
2009-06-01 19:26:31 +02:00
libaudiofile_f10_FILE = ${ LINUXBASE } /usr/lib/libaudiofile.so.0.0.2
2009-04-01 17:25:39 +02:00
libaudiofile_DETECT = ${ libaudiofile ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libaudiofile_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -libaudiofile
libg2c_FILE = ${ LINUXBASE } /usr/lib/libg2c.so.0.0.0
2009-06-01 19:26:31 +02:00
libg2c_f10_FILE = ${ LINUXBASE } /usr/lib/libg2c.so.0.0.0
2009-04-01 17:25:39 +02:00
libg2c_DETECT = ${ libg2c ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libg2c_PORT = ${ PORTSDIR } /lang/linux${ LINUX_DIST_SUFFIX } -libg2c
libglade_FILE = ${ LINUXBASE } /usr/lib/libglade.so.0.4.2
2009-06-01 19:26:31 +02:00
libglade_f10_FILE = ${ LINUXBASE } /usr/lib/libglade.so.0.4.2
2009-04-01 17:25:39 +02:00
libglade_DETECT = ${ libglade ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libglade_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -libglade
libglade2_FILE = ${ LINUXBASE } /usr/lib/libglade-2.0.so.0.0.7
2009-06-01 19:26:31 +02:00
libglade2_f10_FILE = ${ LINUXBASE } /usr/lib/libglade-2.0.so.0.0.7
2009-04-01 17:25:39 +02:00
libglade2_DETECT = ${ libglade2 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libglade2_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -libglade2
2009-09-14 12:09:31 +02:00
libglu_FILE = ${ LINUXBASE } /usr/X11R6/lib/libGLU.so.1
libglu_f10_FILE = ${ LINUXBASE } /usr/lib/libGLU.so.1
2009-04-01 17:25:39 +02:00
libglu_DETECT = ${ libglu ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libglu_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -libGLU
2009-06-01 19:26:31 +02:00
# no libidn_FILE (there is no libidn port for Fedora 4 distribution)
# no libidn_f10_FILE (libidn is integrated into linux_base-f10 port)
2009-04-06 18:03:00 +02:00
libidn_DETECT = ${ libidn ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-04-07 21:15:10 +02:00
libidn_PORT = ${ PORTSDIR } /dns/linux${ LINUX_DIST_SUFFIX } -libidn
2009-04-06 18:03:00 +02:00
2009-03-19 18:28:51 +01:00
libmng_FILE = ${ LINUXBASE } /usr/lib/libmng.so.1.0.0
2009-06-01 19:26:31 +02:00
libmng_f10_FILE = ${ LINUXBASE } /usr/lib/libmng.so.1.0.0
2009-04-01 17:25:39 +02:00
libmng_DETECT = ${ libmng ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libmng_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -libmng
libmng_DEPENDS = jpeg
libogg_FILE = ${ LINUXBASE } /usr/lib/libogg.so.0.5.2
2009-06-01 19:26:31 +02:00
libogg_f10_FILE = ${ LINUXBASE } /usr/lib/libogg.so.0.5.3
2009-04-01 17:25:39 +02:00
libogg_DETECT = ${ libogg ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libogg_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -libogg
libsigcpp20_FILE = ${ LINUXBASE } /usr/lib/libsigc-2.0.so.0
2009-06-01 19:26:31 +02:00
libsigcpp20_f10_FILE = ${ LINUXBASE } /usr/lib/libsigc-2.0.so.0
2009-04-01 17:25:39 +02:00
libsigcpp20_DETECT = ${ libsigcpp20 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libsigcpp20_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -libsigc++20
2009-04-06 18:03:00 +02:00
# no libssh2_FILE
2009-06-01 19:26:31 +02:00
libssh2_f10_FILE = ${ LINUXBASE } /usr/lib/libssh2.so.1
2009-04-06 18:03:00 +02:00
libssh2_DETECT = ${ libssh2 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
libssh2_PORT = ${ PORTSDIR } /security/linux${ LINUX_DIST_SUFFIX } -libssh2
libssh2_DEPENDS = openssl
2011-04-14 16:26:16 +02:00
# no_libv4l_FILE
libv4l_f10_FILE = ${ LINUXBASE } /usr/lib/libv4l1.so.0
libv4l_DETECT = ${ libv4l ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
libv4l_PORT = ${ PORTSDIR } /multimedia/linux${ LINUX_DIST_SUFFIX } -libv4l
2009-03-19 18:28:51 +01:00
libtheora_FILE = ${ LINUXBASE } /usr/lib/libtheora.so.0.1.0
2009-06-01 19:26:31 +02:00
libtheora_f10_FILE = ${ LINUXBASE } /usr/lib/libtheora.so.0.3.3
2009-04-01 17:25:39 +02:00
libtheora_DETECT = ${ libtheora ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libtheora_PORT = ${ PORTSDIR } /multimedia/linux${ LINUX_DIST_SUFFIX } -libtheora
libvorbis_FILE = ${ LINUXBASE } /usr/lib/libvorbis.so.0.3.0
2009-06-01 19:26:31 +02:00
libvorbis_f10_FILE = ${ LINUXBASE } /usr/lib/libvorbis.so.0.4.0
2009-04-01 17:25:39 +02:00
libvorbis_DETECT = ${ libvorbis ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libvorbis_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -libvorbis
libvorbis_DEPENDS = libogg
libxml_FILE = ${ LINUXBASE } /usr/lib/libxml.so.1.8.17
2009-06-01 19:26:31 +02:00
libxml_f10_FILE = ${ LINUXBASE } /usr/lib/libxml.so.1.8.17
2009-04-01 17:25:39 +02:00
libxml_DETECT = ${ libxml ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libxml_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -libxml
libxml2_FILE = ${ LINUXBASE } /usr/lib/libxml2.so.2.6.19
2009-06-01 19:26:31 +02:00
libxml2_f10_FILE = ${ LINUXBASE } /usr/lib/libxml2.so.2.7.3
2009-04-01 17:25:39 +02:00
libxml2_DETECT = ${ libxml2 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
libxml2_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -libxml2
mikmod_FILE = ${ LINUXBASE } /usr/lib/libmikmod.so.2.0.4
2009-06-07 22:22:07 +02:00
mikmod_f10_FILE = ${ LINUXBASE } /usr/lib/libmikmod.so.3.0.0
2009-04-01 17:25:39 +02:00
mikmod_DETECT = ${ mikmod ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
mikmod_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -mikmod
2009-09-01 13:41:42 +02:00
naslibs_FILE = ${ LINUXBASE } /usr/lib/libaudio.so.2
naslibs_f10_FILE = ${ naslibs_FILE }
naslibs_DETECT = ${ naslibs ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
naslibs_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -nas-libs
naslibs_DEPENDS = xorglibs
2011-04-18 15:07:21 +02:00
# no openldap_FILE
2009-07-03 22:58:54 +02:00
openldap_f10_FILE = ${ LINUXBASE } /usr/lib/libldap-2.4.so.2.2.0
openldap_DETECT = ${ openldap ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
openldap_PORT = ${ PORTSDIR } /net/linux${ LINUX_DIST_SUFFIX } -openldap
2009-03-19 18:28:51 +01:00
openmotif_FILE = ${ LINUXBASE } /usr/X11R6/lib/libXm.so.3.0.3
2009-06-01 19:26:31 +02:00
openmotif_f10_FILE = ${ LINUXBASE } /usr/X11R6/lib/libXm.so.3.0.3
2009-04-01 17:25:39 +02:00
openmotif_DETECT = ${ openmotif ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
openmotif_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -openmotif
openmotif_DEPENDS = xorglibs
2009-04-06 18:03:00 +02:00
# no nspr_FILE
2009-06-01 19:26:31 +02:00
nspr_f10_FILE = ${ LINUXBASE } /lib/libnspr4.so
2009-04-06 18:03:00 +02:00
nspr_DETECT = ${ nspr ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
nspr_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -nspr
# no nss_FILE
2009-06-01 19:26:31 +02:00
nss_f10_FILE = ${ LINUXBASE } /lib/libnss3.so
2009-04-06 18:03:00 +02:00
nss_DETECT = ${ nss ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
nss_PORT = ${ PORTSDIR } /security/linux${ LINUX_DIST_SUFFIX } -nss
nss_DEPENDS = nspr sqlite3
2009-03-19 18:28:51 +01:00
openal_FILE = ${ LINUXBASE } /usr/lib/libopenal.so.0.0.0
2009-06-01 19:26:31 +02:00
openal_f10_FILE = ${ LINUXBASE } /usr/lib/libopenal.so.0.0.0
2009-04-01 17:25:39 +02:00
openal_DETECT = ${ openal ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
openal_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -openal
openal_DEPENDS = alsalib arts esound libaudiofile libvorbis sdl12
2011-04-18 15:07:21 +02:00
# no openal-soft_FILE
2010-08-19 22:09:06 +02:00
openal-soft_f10_FILE = ${ LINUXBASE } /usr/lib/libopenal.so.1.8.466
openal-soft_DETECT = ${ openal -soft ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
openal-soft_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -openal-soft
openal-soft_DEPENDS = alsalib arts esound
2009-03-19 18:28:51 +01:00
openssl_FILE = ${ LINUXBASE } /lib/libssl.so.0.9.7f
2009-06-01 19:26:31 +02:00
openssl_f10_FILE = ${ LINUXBASE } /lib/libssl.so.0.9.8g
2009-04-01 17:25:39 +02:00
openssl_DETECT = ${ openssl ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
openssl_PORT = ${ PORTSDIR } /security/linux${ LINUX_DIST_SUFFIX } -openssl
pango_FILE = ${ LINUXBASE } /usr/lib/libpango-1.0.so.0.1001.1
2011-02-26 12:10:20 +01:00
pango_f10_FILE = ${ LINUXBASE } /usr/lib/libpango-1.0.so.0.2800.3
2009-04-01 17:25:39 +02:00
pango_DETECT = ${ pango ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
pango_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -pango
pango_DEPENDS = cairo expat fontconfig xorglibs
png_FILE = ${ LINUXBASE } /usr/lib/libpng.so.3.1.2.8
2009-09-07 22:08:37 +02:00
png_f10_FILE = ${ LINUXBASE } /usr/lib/libpng.so.3.37.0
2009-04-01 17:25:39 +02:00
png_DETECT = ${ png ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
png_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -png
png10_FILE = ${ LINUXBASE } /usr/lib/libpng.so.2.1.0.18
2009-06-01 19:26:31 +02:00
png10_f10_FILE = ${ LINUXBASE } /usr/lib/libpng.so.2.1.0.43
2009-04-01 17:25:39 +02:00
png10_DETECT = ${ png10 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
png10_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -png10
2011-04-26 22:17:14 +02:00
# no_pulseaudio-libs_FILE
pulseaudio-libs_f10_FILE = ${ LINUXBASE } /usr/lib/libpulse.so.0
pulseaudio-libs_DETECT = ${ pulseaudio -libs ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
pulseaudio-libs_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -pulseaudio-libs
2009-03-19 18:28:51 +01:00
qt33_FILE = ${ LINUXBASE } /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.4
2009-06-01 19:26:31 +02:00
qt33_f10_FILE = ${ LINUXBASE } /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.8
2009-04-01 17:25:39 +02:00
qt33_DETECT = ${ qt33 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
qt33_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -qt33
qt33_DEPENDS = fontconfig libmng png
sdl12_FILE = ${ LINUXBASE } /usr/lib/libSDL-1.2.so.0.7.3
2009-06-01 19:26:31 +02:00
sdl12_f10_FILE = ${ LINUXBASE } /usr/lib/libSDL-1.2.so.0.11.2
2009-04-01 17:25:39 +02:00
sdl12_DETECT = ${ sdl12 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
sdl12_PORT = ${ PORTSDIR } /devel/linux${ LINUX_DIST_SUFFIX } -sdl12
sdl12_DEPENDS = xorglibs
sdlimage_FILE = ${ LINUXBASE } /usr/lib/libSDL_image-1.2.so.0.1.4
2009-06-01 19:26:31 +02:00
sdlimage_f10_FILE = ${ LINUXBASE } /usr/lib/libSDL_image-1.2.so.0.1.5
2009-04-01 17:25:39 +02:00
sdlimage_DETECT = ${ sdlimage ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
sdlimage_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -sdl_image
2009-06-12 20:03:43 +02:00
. i f ${LINUX_DIST_SUFFIX} = = ""
2009-03-19 18:28:51 +01:00
sdlimage_DEPENDS = sdl12
2009-06-12 20:03:43 +02:00
. e l s e
sdlimage_DEPENDS = jpeg png sdl12 tiff
. e n d i f
2009-03-19 18:28:51 +01:00
sdlmixer_FILE = ${ LINUXBASE } /usr/lib/libSDL_mixer-1.2.so.0.2.4
2009-06-01 19:26:31 +02:00
sdlmixer_f10_FILE = ${ LINUXBASE } /usr/lib/libSDL_mixer-1.2.so.0.2.6
2009-04-01 17:25:39 +02:00
sdlmixer_DETECT = ${ sdlmixer ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
sdlmixer_PORT = ${ PORTSDIR } /audio/linux${ LINUX_DIST_SUFFIX } -sdl_mixer
sdlmixer_DEPENDS = sdl12
scimgtk_FILE = ${ LINUXBASE } /usr/lib/gtk-2.0/immodules/im-scim.so
2009-06-01 19:26:31 +02:00
scimgtk_f10_FILE = ${ LINUXBASE } /usr/lib/gtk-2.0/immodules/im-scim.so
2009-04-01 17:25:39 +02:00
scimgtk_DETECT = ${ scimgtk ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
scimgtk_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -scim-gtk
scimgtk_DEPENDS = gtk2 scimlibs
2009-04-03 20:17:55 +02:00
scimlibs_FILE = ${ LINUXBASE } /usr/lib/libscim-1.0.so.8
2009-06-01 19:26:31 +02:00
scimlibs_f10_FILE = ${ LINUXBASE } /usr/lib/libscim-1.0.so.8
2009-04-01 17:25:39 +02:00
scimlibs_DETECT = ${ scimlibs ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
scimlibs_PORT = ${ PORTSDIR } /textproc/linux${ LINUX_DIST_SUFFIX } -scim-libs
scimlibs_DEPENDS = gtk2
2009-04-06 18:03:00 +02:00
# no sqlite3_FILE
2009-06-01 19:26:31 +02:00
sqlite3_f10_FILE = ${ LINUXBASE } /usr/lib/libsqlite3.so.0
2009-04-06 21:52:39 +02:00
sqlite3_DETECT = ${ sqlite3 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-04-06 18:03:00 +02:00
sqlite3_PORT = ${ PORTSDIR } /databases/linux${ LINUX_DIST_SUFFIX } -sqlite3
2009-04-06 17:37:00 +02:00
# no tcl84_FILE
2009-06-01 19:26:31 +02:00
# XXX: tcl85!!!
tcl84_f10_FILE = ${ LINUXBASE } /usr/lib/libtcl8.5.so
2009-04-06 17:37:00 +02:00
tcl84_DETECT = ${ tcl84 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-08-03 23:53:13 +02:00
tcl84_PORT = ${ PORTSDIR } /lang/linux${ LINUX_DIST_SUFFIX } -tcl85
2009-04-06 17:37:00 +02:00
2009-03-19 18:28:51 +01:00
tiff_FILE = ${ LINUXBASE } /usr/lib/libtiff.so.3.7.1
2009-06-01 19:26:31 +02:00
tiff_f10_FILE = ${ LINUXBASE } /usr/lib/libtiff.so.3.8.2
2009-04-01 17:25:39 +02:00
tiff_DETECT = ${ tiff ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
tiff_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -tiff
tiff_DEPENDS = jpeg
2009-04-06 17:37:00 +02:00
# no tk84_FILE
2009-06-01 19:26:31 +02:00
# XXX: tk85!!!
tk84_f10_FILE = ${ LINUXBASE } /usr/lib/libtk8.5.so
2009-04-06 17:37:00 +02:00
tk84_DETECT = ${ tk84 ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-08-03 23:53:13 +02:00
tk84_PORT = ${ PORTSDIR } /x11-toolkits/linux${ LINUX_DIST_SUFFIX } -tk85
2009-04-06 17:37:00 +02:00
tk84_DEPENDS = xorglibs
2009-03-19 18:28:51 +01:00
xorglibs_FILE = ${ LINUXBASE } /usr/X11R6/lib/libXrandr.so.2.0
2009-06-01 19:26:31 +02:00
xorglibs_f10_FILE = ${ LINUXBASE } /usr/lib/libXrandr.so.2.1.0
2009-04-01 17:25:39 +02:00
xorglibs_DETECT = ${ xorglibs ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
xorglibs_PORT = ${ PORTSDIR } /x11/linux${ LINUX_DIST_SUFFIX } -xorg-libs
xorglibs_DEPENDS = fontconfig
ucl_FILE = ${ LINUXBASE } /usr/lib/libucl.so.1
2009-06-01 19:26:31 +02:00
ucl_f10_FILE = ${ LINUXBASE } /usr/lib/libucl.so.1
2009-04-01 17:25:39 +02:00
ucl_DETECT = ${ ucl ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
ucl_PORT = ${ PORTSDIR } /archivers/linux${ LINUX_DIST_SUFFIX } -ucl
ungif_FILE = ${ LINUXBASE } /usr/lib/libgif.so.4.1.3
2009-06-01 19:26:31 +02:00
ungif_f10_FILE = ${ LINUXBASE } /usr/lib/libgif.so.4.1.3
2009-04-01 17:25:39 +02:00
ungif_DETECT = ${ ungif ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
ungif_PORT = ${ PORTSDIR } /graphics/linux${ LINUX_DIST_SUFFIX } -ungif
upx_FILE = ${ LINUXBASE } /usr/bin/upx
2009-06-01 19:26:31 +02:00
upx_f10_FILE = ${ LINUXBASE } /usr/bin/upx
2009-04-01 17:25:39 +02:00
upx_DETECT = ${ upx ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
upx_PORT = ${ PORTSDIR } /archivers/linux${ LINUX_DIST_SUFFIX } -upx
upx_DEPENDS = ucl
2009-04-01 17:25:39 +02:00
# use the same wabauth for now
2009-03-19 18:28:51 +01:00
webauth_FILE = ${ LOCALBASE } /bin/linux-nvu
2009-06-01 19:26:31 +02:00
webauth_f10_FILE = ${ LOCALBASE } /bin/linux-nvu
2009-04-01 17:25:39 +02:00
webauth_DETECT = ${ webauth ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE }
2009-03-19 18:28:51 +01:00
webauth_PORT = ${ PORTSDIR } /www/linux-${ WEB_AUTH }
webauth_DEPENDS = gtk2 atk pango fontconfig
# End component definition section
2009-04-02 14:58:21 +02:00
# Let's check if components from USE_LINUX_APPS exist at _LINUX_APPS_ALL
. f o r c o m p o n e n t i n $ { U S E _ L I N U X _ A P P S }
. if ${_LINUX_APPS_ALL : M ${component }}==""
IGNORE = bsd.linux-apps.mk test failed: Invalid component USE_LINUX_APPS = ${ component }
. e n d i f
. e n d f o r
# Let's check if components from USE_LINUX_APPS have corresponding <app>_DETECT
# i.e. if a corresponding <app>_FILE defined for given LINUX_DIST_SUFFIX
. f o r c o m p o n e n t i n $ { U S E _ L I N U X _ A P P S }
. i f ${${component}_DETECT} = = ""
. if defined(${component}${LINUX_DIST_SUFFIX : S /-/_ /}_FILE )
IGNORE = bsd.linux-apps.mk test failed: The component ${ component } is empty for LINUX_DIST_SUFFIX = ${ LINUX_DIST_SUFFIX } ( the corresponding variable ${ component } ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE is empty)
. e l s e
2009-08-03 19:30:07 +02:00
IGNORE = bsd.linux-apps.mk test failed: The component ${ component } is not defined for LINUX_DIST_SUFFIX = ${ LINUX_DIST_SUFFIX } ( the corresponding variable ${ component } ${ LINUX_DIST_SUFFIX : S /-/_/ } _FILE is not defined) . This usually means that the current port should be used with non default linux base and/or infrastructure port( s)
2009-04-02 14:58:21 +02:00
. e n d i f
. e n d i f
. e n d f o r
2009-03-19 18:28:51 +01:00
# Recursively expand all dependencies for each app at _LINUX_APPS_ALL
. f o r c o m p o n e n t i n $ { _ L I N U X _ A P P S _ A L L }
. f o r s u b c o m p o n e n t i n $ { $ { c o m p o n e n t } _ D E P E N D S }
${component}_DEPENDS += ${ ${ subcomponent } _DEPENDS }
. e n d f o r
. e n d f o r
# Use just expanded dependencies (<app>_DEPENDS) to expand USE_LINUX_APPS
. f o r c o m p o n e n t i n $ { U S E _ L I N U X _ A P P S }
_USE_LINUX_APPS += ${ ${ component } _DEPENDS } ${ component }
. e n d f o r
# Set dependencies for _USE_LINUX_APPS which exists at _LINUX_APPS_ALL
. f o r c o m p o n e n t i n $ { _ L I N U X _ A P P S _ A L L }
. if ${_USE_LINUX_APPS : M ${component }}!=""
2009-04-08 14:26:24 +02:00
. if defined(${component}${LINUX_DIST_SUFFIX : S /-/_ /}_FILE )
2009-03-19 18:28:51 +01:00
RUN_DEPENDS += ${ ${ component } _DETECT } :${ ${ component } _PORT }
2009-04-08 14:26:24 +02:00
. e n d i f
2009-03-19 18:28:51 +01:00
. e n d i f
. e n d f o r
. e n d i f