aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/linux-f10-gtk2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/linux-f10-gtk2/Makefile')
-rw-r--r--x11-toolkits/linux-f10-gtk2/Makefile38
1 files changed, 13 insertions, 25 deletions
diff --git a/x11-toolkits/linux-f10-gtk2/Makefile b/x11-toolkits/linux-f10-gtk2/Makefile
index 27275f32bd58..62f0ad8b73f0 100644
--- a/x11-toolkits/linux-f10-gtk2/Makefile
+++ b/x11-toolkits/linux-f10-gtk2/Makefile
@@ -10,42 +10,30 @@ PORTVERSION= 2.2.1
PORTREVISION= 2
CATEGORIES= x11-toolkits linux
-MAINTAINER= trevor@FreeBSD.org
-COMMENT= GTK+ library, version 2.X, i386 Linux binary
+MAINTAINER= freebsd-emulation@FreeBSD.org
+COMMENT= GTK+ library, version 2.X, Linux binary
# these libraries are required by gtk-query-immodules-2.0 or
# gdk-pixbuf-query-loaders
-BUILD_DEPENDS= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
+BUILD_DEPENDS+= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \
- ${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png \
+ ${LINUXBASE}/usr/lib/libpng12.so.0.1.2.7:${PORTSDIR}/graphics/linux-png \
${LINUXBASE}/usr/lib/libtiff.so.3.5:${PORTSDIR}/graphics/linux-tiff \
- ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango
-RUN_DEPENDS= ${BUILD_DEPENDS}
+ ${LINUXBASE}/usr/lib/libpango-1.0.so.0.200.1:${PORTSDIR}/x11-toolkits/linux-pango
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \
+ ${BUILD_DEPENDS}
BASEVERSION= 9
ONLY_FOR_ARCHS= i386
-PLIST= ${WRKDIR}/plist
-RESTRICTED= "binaries under GNU LGPL without accompanying source"
+PLIST= ${PKGDIR}/pkg-plist
RPM_SET= gtk2-2.2.1-4.i386.rpm
-pre-install:
- ${RM} -f ${PLIST}
-.for ii in gtk.immodules gdk-pixbuf.loaders
- ${ECHO_CMD} etc/gtk-2.0/${ii} >> ${PLIST}
-.endfor
- ${RM} -rf ${WRKSRC}/tmp
- ${MKDIR} ${WRKSRC}/tmp
- cd ${WRKSRC}/tmp; \
- rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | ${CPIO} -id; \
- ${FIND} * -type f -o -type l >> ${PLIST}; \
- ${FIND} -d * -type d | ${GREP} -E 'gtk|themes' | \
- ${SED} -e 's:^:@dirrm :' >> ${PLIST}; \
- ${FIND} -d * -type d | ${GREP} locale | \
- ${SED} -e 's:^:@unexec rmdir %D/:;s:$$: 2>/dev/null || true:' >> ${PLIST}
-
post-install:
- ${PREFIX}/usr/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
- ${PREFIX}/usr/bin/gdk-pixbuf-query-loaders > ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders
+.for ii in gdk-pixbuf-query-loaders gtk-demo gtk-query-immodules-2.0 testgtk testtext
+ @${BRANDELF} -t Linux ${PREFIX}/usr/bin/${ii}
+.endfor
+ @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
+ @chroot ${PREFIX} /usr/bin/gdk-pixbuf-query-loaders > ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders
.include "../linux-gtk/Makefile"