aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2015-03-26 07:57:31 +0800
committermandree <mandree@FreeBSD.org>2015-03-26 07:57:31 +0800
commit04905f5fcdb80c567bae15f2285d8c5ca838875a (patch)
tree78196fdd25d95ef7839d575a582006126e3cc573 /x11-toolkits
parenta6ab70183cd475387f4dfce4c0abbad3fe14c49b (diff)
downloadfreebsd-ports-gnome-04905f5fcdb80c567bae15f2285d8c5ca838875a.tar.gz
freebsd-ports-gnome-04905f5fcdb80c567bae15f2285d8c5ca838875a.tar.zst
freebsd-ports-gnome-04905f5fcdb80c567bae15f2285d8c5ca838875a.zip
Fix build as unprivileged user.
Add rpm4 as extract requisite, and use rpm2archive to get something that yields non-zero-sized manual pages. While here, clean up pkg-plist a bit. Bump PORTREVISION. PR: 196414 Submitted by: peterj Reviewed by: xmj Approved by: emulation (eadler)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/linux-c6-tk85/Makefile11
-rw-r--r--x11-toolkits/linux-c6-tk85/pkg-plist16
2 files changed, 8 insertions, 19 deletions
diff --git a/x11-toolkits/linux-c6-tk85/Makefile b/x11-toolkits/linux-c6-tk85/Makefile
index e971b4f02701..ff3e7103510e 100644
--- a/x11-toolkits/linux-c6-tk85/Makefile
+++ b/x11-toolkits/linux-c6-tk85/Makefile
@@ -3,13 +3,15 @@
PORTNAME= tk
PORTVERSION= 8.5.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits linux
PKGNAMESUFFIX= 85
MAINTAINER= emulation@FreeBSD.org
COMMENT= Graphical toolkit for TCL (Linux CentOS ${LINUX_DIST_VER})
+EXTRACT_DEPENDS=rpm2archive:${PORTSDIR}/archivers/rpm4
+
CONFLICTS= linux-f10-tk85-[0-9]*
USE_LINUX= c6
@@ -17,10 +19,13 @@ USE_LINUX_RPM= yes
USE_LINUX_APPS= xorglibs
RPMVERSION= 5.el6
-BRANELF_FILES= #usr/bin/wish8.5
+BRANDELF_FILES= #usr/bin/wish8.5
USE_LDCONFIG= yes
-DESCR= ${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX}/pkg-descr
+EXTRACT_CMD= ${LOCALBASE}/bin/rpm2archive
+EXTRACT_BEFORE_ARGS= <
+EXTRACT_AFTER_ARGS= | ${GZIP_CMD} -cd | ${TAR} xf - --no-same-owner --no-same-permissions
+DESCR= ${.CURDIR}/../${PORTNAME}${PKGNAMESUFFIX}/pkg-descr
.include <bsd.port.mk>
diff --git a/x11-toolkits/linux-c6-tk85/pkg-plist b/x11-toolkits/linux-c6-tk85/pkg-plist
index 50f7d7e8eae1..281547fceaad 100644
--- a/x11-toolkits/linux-c6-tk85/pkg-plist
+++ b/x11-toolkits/linux-c6-tk85/pkg-plist
@@ -258,19 +258,3 @@ usr/%%DATADIR%%8.5/ttk/winTheme.tcl
usr/%%DATADIR%%8.5/ttk/xpTheme.tcl
usr/%%DATADIR%%8.5/unsupported.tcl
usr/%%DATADIR%%8.5/xmfbox.tcl
-@dirrmtry usr/%%DATADIR%%8.5/ttk
-@dirrmtry usr/%%DATADIR%%8.5/msgs
-@dirrmtry usr/%%DATADIR%%8.5/images
-@dirrmtry usr/%%DATADIR%%8.5/demos/images
-@dirrmtry usr/%%DATADIR%%8.5/demos
-@dirrmtry usr/%%DATADIR%%8.5
-@dirrmtry usr/share/man/mann
-@dirrmtry usr/share/man/man1
-@dirrmtry usr/share/man
-@dirrmtry usr/share/doc/tk-8.5.7
-@dirrmtry usr/share/doc
-@dirrmtry usr/share
-@dirrmtry usr/lib/tk8.5
-@dirrmtry usr/lib
-@dirrmtry usr/bin
-@dirrmtry usr