aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-c7-sdl_ttf
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-31 16:54:21 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-31 16:54:21 +0000
commit6140d3c6aada863a40f9075019eb0f48789cd48f (patch)
tree31bde26cde7c64937193d64587b12c96997aad8c /graphics/linux-c7-sdl_ttf
parent0177884e904ff5abe1705efd562133d568e572c4 (diff)
downloadports-6140d3c6aada863a40f9075019eb0f48789cd48f.tar.gz
ports-6140d3c6aada863a40f9075019eb0f48789cd48f.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.
Notes
Notes: svn path=/head/; revision=432937
Diffstat (limited to 'graphics/linux-c7-sdl_ttf')
-rw-r--r--graphics/linux-c7-sdl_ttf/Makefile13
-rw-r--r--graphics/linux-c7-sdl_ttf/distinfo (renamed from graphics/linux-c7-sdl_ttf/distinfo.x86_64)0
-rw-r--r--graphics/linux-c7-sdl_ttf/pkg-plist.amd645
-rw-r--r--graphics/linux-c7-sdl_ttf/pkg-plist.x86_642
4 files changed, 10 insertions, 10 deletions
diff --git a/graphics/linux-c7-sdl_ttf/Makefile b/graphics/linux-c7-sdl_ttf/Makefile
index 87b1d4f59904..19c73917c064 100644
--- a/graphics/linux-c7-sdl_ttf/Makefile
+++ b/graphics/linux-c7-sdl_ttf/Makefile
@@ -3,17 +3,19 @@
PORTNAME= sdl_ttf
PORTVERSION= 2.0.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics linux
MASTER_SITES= EPEL7/s
-DISTNAME= ${LINUX_NAME}-${PORTVERSION}-${RPMVERSION}
+DISTNAME= ${LINUXNAME}-${DISTVERSIONFULL}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Simple library to load True Type Fonts as SDL interfaces (Linux CentOS ${LINUX_DIST_VER})
CONFLICTS= linux-c6-${PORTNAME}-[0-9]*
-LINUX_NAME= SDL_ttf
+DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR= ${PREFIX}/usr/share/doc/${LINUXNAME}-${PORTVERSION}
+LINUXNAME= SDL_ttf
ONLY_FOR_ARCHS= amd64
RPMVERSION= 6.el7
USES= linux:c7
@@ -21,9 +23,4 @@ USE_LDCONFIG= yes
USE_LINUX= jpeg png sdl12 tiff
USE_LINUX_RPM= yes
-DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
-PORTDOCS= CHANGES COPYING README
-
-DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
-
.include <bsd.port.mk>
diff --git a/graphics/linux-c7-sdl_ttf/distinfo.x86_64 b/graphics/linux-c7-sdl_ttf/distinfo
index 2d260679435a..2d260679435a 100644
--- a/graphics/linux-c7-sdl_ttf/distinfo.x86_64
+++ b/graphics/linux-c7-sdl_ttf/distinfo
diff --git a/graphics/linux-c7-sdl_ttf/pkg-plist.amd64 b/graphics/linux-c7-sdl_ttf/pkg-plist.amd64
new file mode 100644
index 000000000000..248e1d436f12
--- /dev/null
+++ b/graphics/linux-c7-sdl_ttf/pkg-plist.amd64
@@ -0,0 +1,5 @@
+usr/lib64/libSDL_ttf-2.0.so.0
+usr/lib64/libSDL_ttf-2.0.so.0.10.1
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
diff --git a/graphics/linux-c7-sdl_ttf/pkg-plist.x86_64 b/graphics/linux-c7-sdl_ttf/pkg-plist.x86_64
deleted file mode 100644
index d2cca0ecd979..000000000000
--- a/graphics/linux-c7-sdl_ttf/pkg-plist.x86_64
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib64/libSDL_ttf-2.0.so.0
-usr/lib64/libSDL_ttf-2.0.so.0.10.1