freebsd-ports/x11/linux-c7-xorg-libs/Makefile
Tijl Coosemans 6140d3c6aa - Autodetect the installed linux_base port and use LINUX_DEFAULT only as
a last resort.
- Construct a list of DISTFILES for every architecture (amd64, i386).
  Select one list for regular make and all lists for make makesum so linux
  ports can have one combined distinfo file.
- Set DIST_SUBDIR?=centos so there's only one copy of common distfiles.
- Use MASTER_SITES and DISTFILES groups so make fetch is a bit smarter.
- Regenerate all distinfo files.
- For linux_base-c6 (just like linux_base-c7 already does) turn bin, lib,
  lib64 and sbin into symbolic links to the same directory under usr.
  This fixes the problem where some programs/libraries exist under / on
  FreeBSD and /usr on Linux or vice versa and then depending on the order
  of search paths Linux programs may run/load FreeBSD programs/libraries
  and fail.
- Turn usr/share/icons into a symbolic link to LOCALBASE/share/icons so
  Linux programs can find desktop theme icons.  This eliminates the need
  for x11-themes/linux*-hicolor-icon-theme.
- Rename pkg-plist.x86_64 to pkg-plist.amd64.
- Regenerate all pkg-plist files.
- Add @preexec to linux_base pkg-plist that moves existing files in bin,
  lib, lib64, sbin and icons to the new destination before the directories
  are turned into symbolic links.
- Remove several empty directories from linux_base ports.
- Sweep over all linux ports: use consistent style, remove old CONFLICTS,
  remove unused pkg-descr files, add NLS option,...
- Remove old linux arts, esound and openssl-compat ports.
2017-01-31 16:54:21 +00:00

90 lines
2.8 KiB
Makefile

# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= xorg-libs
PORTVERSION= 7.7
PORTREVISION= 3
CATEGORIES= x11 linux
LIB_DISTNAMES= libICE-1.0.9-2.el7 \
libSM-1.2.2-2.el7 \
libX11-1.6.3-3.el7 \
libXScrnSaver-1.2.2-6.1.el7 \
libXau-1.0.8-2.1.el7 \
libXaw-1.0.12-5.el7 \
libXcomposite-0.4.4-4.1.el7 \
libXcursor-1.1.14-2.1.el7 \
libXdamage-1.1.4-4.1.el7 \
libXdmcp-1.1.1-6.1.el7 \
libXevie-1.0.3-7.1.el7 \
libXext-1.3.3-3.el7 \
libXfixes-5.0.1-2.1.el7 \
libXfont-1.5.1-2.el7 \
libXft-2.3.2-2.el7 \
libXi-1.7.4-2.el7 \
libXinerama-1.1.3-2.1.el7 \
libXmu-1.1.2-2.el7 \
libXp-1.0.2-2.1.el7 \
libXpm-3.5.11-3.el7 \
libXrandr-1.4.2-2.el7 \
libXrender-0.9.8-2.1.el7 \
libXres-1.0.7-2.1.el7 \
libXt-1.1.4-6.1.el7 \
libXtst-1.2.2-2.1.el7 \
libXv-1.0.10-2.el7 \
libXvMC-1.0.8-2.1.el7 \
libXxf86dga-1.1.4-2.1.el7 \
libXxf86misc-1.0.3-7.1.el7 \
libXxf86vm-1.1.3-2.1.el7 \
libfontenc-1.1.2-3.el7 \
libxcb-1.11-4.el7 \
libxkbfile-1.0.8-5.el7 \
libxshmfence-1.2-1.el7
SRC_DISTFILES= libICE-1.0.9-2.el7${SRC_SUFX}:SOURCE \
libSM-1.2.2-2.el7${SRC_SUFX}:SOURCE \
libX11-1.6.3-3.el7${SRC_SUFX}:SOURCE \
libXScrnSaver-1.2.2-6.1.el7${SRC_SUFX}:SOURCE \
libXau-1.0.8-2.1.el7${SRC_SUFX}:SOURCE \
libXaw-1.0.12-5.el7${SRC_SUFX}:SOURCE \
libXcomposite-0.4.4-4.1.el7${SRC_SUFX}:SOURCE \
libXcursor-1.1.14-2.1.el7${SRC_SUFX}:SOURCE \
libXdamage-1.1.4-4.1.el7${SRC_SUFX}:SOURCE \
libXdmcp-1.1.1-6.1.el7${SRC_SUFX}:SOURCE \
libXevie-1.0.3-7.1.el7${SRC_SUFX}:SOURCE \
libXext-1.3.3-3.el7${SRC_SUFX}:SOURCE \
libXfixes-5.0.1-2.1.el7${SRC_SUFX}:SOURCE \
libXfont-1.5.1-2.el7${SRC_SUFX}:SOURCE \
libXft-2.3.2-2.el7${SRC_SUFX}:SOURCE \
libXi-1.7.4-2.el7${SRC_SUFX}:SOURCE \
libXinerama-1.1.3-2.1.el7${SRC_SUFX}:SOURCE \
libXmu-1.1.2-2.el7${SRC_SUFX}:SOURCE \
libXp-1.0.2-2.1.el7${SRC_SUFX}:SOURCE \
libXpm-3.5.11-3.el7${SRC_SUFX}:SOURCE \
libXrandr-1.4.2-2.el7${SRC_SUFX}:SOURCE \
libXrender-0.9.8-2.1.el7${SRC_SUFX}:SOURCE \
libXres-1.0.7-2.1.el7${SRC_SUFX}:SOURCE \
libXt-1.1.4-6.1.el7${SRC_SUFX}:SOURCE \
libXtst-1.2.2-2.1.el7${SRC_SUFX}:SOURCE \
libXv-1.0.10-2.el7${SRC_SUFX}:SOURCE \
libXvMC-1.0.8-2.1.el7${SRC_SUFX}:SOURCE \
libXxf86dga-1.1.4-2.1.el7${SRC_SUFX}:SOURCE \
libXxf86misc-1.0.3-7.1.el7${SRC_SUFX}:SOURCE \
libXxf86vm-1.1.3-2.1.el7${SRC_SUFX}:SOURCE \
libfontenc-1.1.2-3.el7${SRC_SUFX}:SOURCE \
libxcb-1.11-4.el7${SRC_SUFX}:SOURCE \
libxkbfile-1.0.8-5.el7${SRC_SUFX}:SOURCE \
libxshmfence-1.2-1.el7${SRC_SUFX}:SOURCE
MAINTAINER= emulation@FreeBSD.org
COMMENT= Xorg libraries (Linux CentOS ${LINUX_DIST_VER})
CONFLICTS= linux-c6-${PORTNAME}-[0-9]*
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= fontconfig
USE_LINUX_RPM= yes
post-patch:
@${RM} -r ${WRKSRC}/usr/share/icons
.include <bsd.port.mk>