diff options
author | tijl <tijl@FreeBSD.org> | 2017-02-01 00:54:21 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2017-02-01 00:54:21 +0800 |
commit | 844eb16a686a8eaf36b88417fa047f2a37149374 (patch) | |
tree | 31bde26cde7c64937193d64587b12c96997aad8c /x11-toolkits/linux-c7-qt-x11/Makefile | |
parent | 475d84cbbcf4a6fe952d02d30a5c2201b7236bbd (diff) | |
download | freebsd-ports-gnome-844eb16a686a8eaf36b88417fa047f2a37149374.tar.gz freebsd-ports-gnome-844eb16a686a8eaf36b88417fa047f2a37149374.tar.zst freebsd-ports-gnome-844eb16a686a8eaf36b88417fa047f2a37149374.zip |
- 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.
Diffstat (limited to 'x11-toolkits/linux-c7-qt-x11/Makefile')
-rw-r--r-- | x11-toolkits/linux-c7-qt-x11/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/x11-toolkits/linux-c7-qt-x11/Makefile b/x11-toolkits/linux-c7-qt-x11/Makefile index ec3a78593f1c..ecd0778145b7 100644 --- a/x11-toolkits/linux-c7-qt-x11/Makefile +++ b/x11-toolkits/linux-c7-qt-x11/Makefile @@ -1,23 +1,28 @@ # Created by: Piotr Kubaj <pkubaj@anongoth.pl> # $FreeBSD$ -PORTNAME= qt-x11 +PORTNAME= qt PORTVERSION= 4.8.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits linux -SRC_DISTFILES= qt-${PORTVERSION}-${RPMVERSION}${SRC_SUFX}:SOURCE +PKGNAMESUFFIX= -x11 +LIB_DISTNAMES= ${LINUXNAME}-${DISTVERSIONFULL} MAINTAINER= emulation@FreeBSD.org -COMMENT= RPM of QT4 (Linux CentOS ${LINUX_DIST_VER}) +COMMENT= Cross-platform application and UI framework (Linux CentOS ${LINUX_DIST_VER}) CONFLICTS= linux-c6-qt47-x11-[0-9]* +DATADIR= ${PREFIX}/usr/share/${PORTNAME}4 +DESCR= ${.CURDIR}/../../devel/${PORTNAME}4/pkg-descr +LINUXNAME= ${PORTNAME}${PKGNAMESUFFIX} RPMVERSION= 13.el7 USES= linux:c7 USE_LDCONFIG= yes USE_LINUX= alsalib dri fontconfig jpeg openssl png qt tiff xorglibs USE_LINUX_RPM= yes -DESCR= ${.CURDIR}/../../devel/qt4/pkg-descr +post-patch: + @${RM} -r ${WRKSRC}/usr/share/icons .include <bsd.port.mk> |