aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/linux-c6
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-09-06 03:23:42 +0800
committertijl <tijl@FreeBSD.org>2016-09-06 03:23:42 +0800
commit6255104baacfdd2c23e07550f90d2f9a7020ca87 (patch)
tree516db145d6cf5fd4d2666f811272aad577272ac5 /emulators/linux-c6
parent016de2316ed16336a58b66dafd7f332614a041ac (diff)
downloadfreebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.tar.gz
freebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.tar.zst
freebsd-ports-gnome-6255104baacfdd2c23e07550f90d2f9a7020ca87.zip
- Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine)
Diffstat (limited to 'emulators/linux-c6')
-rw-r--r--emulators/linux-c6/Makefile151
1 files changed, 73 insertions, 78 deletions
diff --git a/emulators/linux-c6/Makefile b/emulators/linux-c6/Makefile
index b1a267c76062..ef5cd3c0c0ed 100644
--- a/emulators/linux-c6/Makefile
+++ b/emulators/linux-c6/Makefile
@@ -1,93 +1,88 @@
# Created by: Johannes Jost Meixner <xmj@FreeBSD.org>
# $FreeBSD$
-PORTNAME= linux-${USE_LINUX}
-PORTVERSION= 6.8
+PORTNAME= linux-c6
+PORTVERSION= ${LINUX_DIST_VER}
CATEGORIES= emulators linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= Meta-port for all things CentOS ${LINUX_DIST_VER}
-USES= metaport
+RUN_DEPENDS= linux-c6-libasyncns>0:dns/linux-c6-libasyncns \
+ linux-c6-tk85>0:x11-toolkits/linux-c6-tk85 \
+ linux-c6-gtk2>0:x11-toolkits/linux-c6-gtk2 \
+ linux-c6-hicolor-icon-theme>0:x11-themes/linux-c6-hicolor-icon-theme \
+ linux-c6-qt47-x11>0:x11-toolkits/linux-c6-qt47-x11 \
+ linux-c6-pango>0:x11-toolkits/linux-c6-pango \
+ linux-c6-openmotif>0:x11-toolkits/linux-c6-openmotif \
+ linux-c6-atk>0:accessibility/linux-c6-atk \
+ linux-c6-sqlite>0:databases/linux-c6-sqlite3 \
+ linux-c6-tcl85>0:lang/linux-c6-tcl85 \
+ linux-c6-nspr>0:devel/linux-c6-nspr \
+ linux-c6-libsigc++20>0:devel/linux-c6-libsigc++20 \
+ linux-c6-sdl>0:devel/linux-c6-sdl12 \
+ linux-c6-libpciaccess>0:devel/linux-c6-libpciaccess \
+ linux-c6-libglade2>0:devel/linux-c6-libglade2 \
+ linux-c6-devtools>0:devel/linux-c6-devtools \
+ linux-c6-dbus-libs>0:devel/linux-c6-dbus-libs \
+ linux-c6-qt47>0:devel/linux-c6-qt47 \
+ linux-c6-dbus-glib>0:devel/linux-c6-dbus-glib \
+ linux-c6-ncurses-base>0:devel/linux-c6-ncurses-base \
+ linux-c6-xorg-libs>0:x11/linux-c6-xorg-libs \
+ linux-c6-fontconfig>0:x11-fonts/linux-c6-fontconfig \
+ linux-c6-cups-libs>0:print/linux-c6-cups-libs \
+ linux-c6-flac>0:audio/linux-c6-flac \
+ linux-c6-alsa-utils>0:audio/linux-c6-alsa-utils \
+ linux-c6-alsa-lib>0:audio/linux-c6-alsa-lib \
+ linux-c6-libaudiofile>0:audio/linux-c6-libaudiofile \
+ linux-c6-esound>0:audio/linux-c6-esound \
+ linux-c6-alsa-plugins-oss>0:audio/linux-c6-alsa-plugins-oss \
+ linux-c6-sdl_mixer>0:audio/linux-c6-sdl_mixer \
+ linux-c6-alsa-plugins-pulseaudio>0:audio/linux-c6-alsa-plugins-pulseaudio \
+ linux-c6-libsndfile>0:audio/linux-c6-libsndfile \
+ linux-c6-libogg>0:audio/linux-c6-libogg \
+ linux-c6-arts>0:audio/linux-c6-arts \
+ linux-c6-pulseaudio-utils>0:audio/linux-c6-pulseaudio-utils \
+ linux-c6-pulseaudio-libs>0:audio/linux-c6-pulseaudio-libs \
+ linux-c6-mikmod>0:audio/linux-c6-mikmod \
+ linux-c6-openal-soft>0:audio/linux-c6-openal-soft \
+ linux-c6-libvorbis>0:audio/linux-c6-libvorbis \
+ linux-c6-nas-libs>0:audio/linux-c6-nas-libs \
+ linux-c6-libtheora>0:multimedia/linux-c6-libtheora \
+ linux-c6-libv4l>0:multimedia/linux-c6-libv4l \
+ linux-c6-qt47-webkit>0:www/linux-c6-qt47-webkit \
+ linux-c6-flashplugin>0:www/linux-c6-flashplugin11 \
+ linux-c6-cyrus-sasl2>0:security/linux-c6-cyrus-sasl2 \
+ linux-c6-libssh2>0:security/linux-c6-libssh2 \
+ linux-c6-openssl-compat>0:security/linux-c6-openssl-compat \
+ linux-c6-openssl>0:security/linux-c6-openssl \
+ linux-c6-gnutls>0:security/linux-c6-gnutls \
+ linux-c6-libgcrypt>0:security/linux-c6-libgcrypt \
+ linux-c6-nss>0:security/linux-c6-nss \
+ linux-c6-libtasn1>0:security/linux-c6-libtasn1 \
+ linux-c6-libgpg-error>0:security/linux-c6-libgpg-error \
+ linux-c6-curl>0:ftp/linux-c6-curl \
+ linux-c6-tcp_wrappers-libs>0:net/linux-c6-tcp_wrappers-libs \
+ linux-c6-openldap>0:net/linux-c6-openldap \
+ linux-c6-avahi-libs>0:net/linux-c6-avahi-libs \
+ linux-c6-expat>0:textproc/linux-c6-expat \
+ linux-c6-aspell>0:textproc/linux-c6-aspell \
+ linux-c6-libxml2>0:textproc/linux-c6-libxml2 \
+ linux-c6-sdl_image>0:graphics/linux-c6-sdl_image \
+ linux-c6-sdl_ttf>0:graphics/linux-c6-sdl_ttf \
+ linux-c6-png>0:graphics/linux-c6-png \
+ linux-c6-tiff>0:graphics/linux-c6-tiff \
+ linux-c6-jpeg>0:graphics/linux-c6-jpeg \
+ linux-c6-glx-utils>0:graphics/linux-c6-glx-utils \
+ linux-c6-gdk-pixbuf2>0:graphics/linux-c6-gdk-pixbuf2 \
+ linux-c6-cairo>0:graphics/linux-c6-cairo
-# base
-USE_LINUX= c6
-
-# non-base
-
-RUN_DEPENDS+= linux-${USE_LINUX}-libasyncns>0:dns/linux-c6-libasyncns \
- linux-${USE_LINUX}-tk85>0:x11-toolkits/linux-c6-tk85 \
- linux-${USE_LINUX}-gtk2>0:x11-toolkits/linux-c6-gtk2 \
- linux-${USE_LINUX}-hicolor-icon-theme>0:x11-themes/linux-c6-hicolor-icon-theme \
- linux-${USE_LINUX}-qt47-x11>0:x11-toolkits/linux-c6-qt47-x11 \
- linux-${USE_LINUX}-pango>0:x11-toolkits/linux-c6-pango \
- linux-${USE_LINUX}-openmotif>0:x11-toolkits/linux-c6-openmotif \
- linux-${USE_LINUX}-atk>0:accessibility/linux-c6-atk \
- linux-${USE_LINUX}-sqlite>0:databases/linux-c6-sqlite3 \
- linux-${USE_LINUX}-tcl85>0:lang/linux-c6-tcl85 \
- linux-${USE_LINUX}-nspr>0:devel/linux-c6-nspr \
- linux-${USE_LINUX}-libsigc++20>0:devel/linux-c6-libsigc++20 \
- linux-${USE_LINUX}-sdl>0:devel/linux-c6-sdl12 \
- linux-${USE_LINUX}-libpciaccess>0:devel/linux-c6-libpciaccess \
- linux-${USE_LINUX}-libglade2>0:devel/linux-c6-libglade2 \
- linux-${USE_LINUX}-devtools>0:devel/linux-c6-devtools \
- linux-${USE_LINUX}-dbus-libs>0:devel/linux-c6-dbus-libs \
- linux-${USE_LINUX}-qt47>0:devel/linux-c6-qt47 \
- linux-${USE_LINUX}-dbus-glib>0:devel/linux-c6-dbus-glib \
- linux-${USE_LINUX}-ncurses-base>0:devel/linux-c6-ncurses-base \
- linux-${USE_LINUX}-xorg-libs>0:x11/linux-c6-xorg-libs \
- linux-${USE_LINUX}-fontconfig>0:x11-fonts/linux-c6-fontconfig \
- linux-${USE_LINUX}-cups-libs>0:print/linux-c6-cups-libs \
- linux-${USE_LINUX}-flac>0:audio/linux-c6-flac \
- linux-${USE_LINUX}-alsa-utils>0:audio/linux-c6-alsa-utils \
- linux-${USE_LINUX}-alsa-lib>0:audio/linux-c6-alsa-lib \
- linux-${USE_LINUX}-libaudiofile>0:audio/linux-c6-libaudiofile \
- linux-${USE_LINUX}-esound>0:audio/linux-c6-esound \
- linux-${USE_LINUX}-alsa-plugins-oss>0:audio/linux-c6-alsa-plugins-oss \
- linux-${USE_LINUX}-sdl_mixer>0:audio/linux-c6-sdl_mixer \
- linux-${USE_LINUX}-alsa-plugins-pulseaudio>0:audio/linux-c6-alsa-plugins-pulseaudio \
- linux-${USE_LINUX}-libsndfile>0:audio/linux-c6-libsndfile \
- linux-${USE_LINUX}-libogg>0:audio/linux-c6-libogg \
- linux-${USE_LINUX}-arts>0:audio/linux-c6-arts \
- linux-${USE_LINUX}-pulseaudio-utils>0:audio/linux-c6-pulseaudio-utils \
- linux-${USE_LINUX}-pulseaudio-libs>0:audio/linux-c6-pulseaudio-libs \
- linux-${USE_LINUX}-mikmod>0:audio/linux-c6-mikmod \
- linux-${USE_LINUX}-openal-soft>0:audio/linux-c6-openal-soft \
- linux-${USE_LINUX}-libvorbis>0:audio/linux-c6-libvorbis \
- linux-${USE_LINUX}-nas-libs>0:audio/linux-c6-nas-libs \
- linux-${USE_LINUX}-libtheora>0:multimedia/linux-c6-libtheora \
- linux-${USE_LINUX}-libv4l>0:multimedia/linux-c6-libv4l \
- linux-${USE_LINUX}-qt47-webkit>0:www/linux-c6-qt47-webkit \
- linux-${USE_LINUX}-flashplugin>0:www/linux-c6-flashplugin11 \
- linux-${USE_LINUX}-cyrus-sasl2>0:security/linux-c6-cyrus-sasl2 \
- linux-${USE_LINUX}-libssh2>0:security/linux-c6-libssh2 \
- linux-${USE_LINUX}-openssl-compat>0:security/linux-c6-openssl-compat \
- linux-${USE_LINUX}-openssl>0:security/linux-c6-openssl \
- linux-${USE_LINUX}-gnutls>0:security/linux-c6-gnutls \
- linux-${USE_LINUX}-libgcrypt>0:security/linux-c6-libgcrypt \
- linux-${USE_LINUX}-nss>0:security/linux-c6-nss \
- linux-${USE_LINUX}-libtasn1>0:security/linux-c6-libtasn1 \
- linux-${USE_LINUX}-libgpg-error>0:security/linux-c6-libgpg-error \
- linux-${USE_LINUX}-curl>0:ftp/linux-c6-curl \
- linux-${USE_LINUX}-tcp_wrappers-libs>0:net/linux-c6-tcp_wrappers-libs \
- linux-${USE_LINUX}-openldap>0:net/linux-c6-openldap \
- linux-${USE_LINUX}-avahi-libs>0:net/linux-c6-avahi-libs \
- linux-${USE_LINUX}-expat>0:textproc/linux-c6-expat \
- linux-${USE_LINUX}-aspell>0:textproc/linux-c6-aspell \
- linux-${USE_LINUX}-libxml2>0:textproc/linux-c6-libxml2 \
- linux-${USE_LINUX}-sdl_image>0:graphics/linux-c6-sdl_image \
- linux-${USE_LINUX}-sdl_ttf>0:graphics/linux-c6-sdl_ttf \
- linux-${USE_LINUX}-png>0:graphics/linux-c6-png \
- linux-${USE_LINUX}-tiff>0:graphics/linux-c6-tiff \
- linux-${USE_LINUX}-jpeg>0:graphics/linux-c6-jpeg \
- linux-${USE_LINUX}-glx-utils>0:graphics/linux-c6-glx-utils \
- linux-${USE_LINUX}-gdk-pixbuf2>0:graphics/linux-c6-gdk-pixbuf2 \
- linux-${USE_LINUX}-cairo>0:graphics/linux-c6-cairo
+USES= linux:c6 metaport
OPTIONS_DEFINE= NVIDIA_GL
NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver \
- linux-${USE_LINUX}-libGLU>0:graphics/linux-c6-libGLU
-NVIDIA_GL_RUN_DEPENDS_OFF= linux-${USE_LINUX}-dri>0:graphics/linux-c6-dri
+ linux-c6-libGLU>0:graphics/linux-c6-libGLU
+NVIDIA_GL_RUN_DEPENDS_OFF= linux-c6-dri>0:graphics/linux-c6-dri
.include <bsd.port.mk>