Date: Sun, 13 Feb 2005 19:24:16 +0100 From: "Miguel Mendez" <flynn@energyhq.es.eu.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/77461: [Maintainer Update] x11-themes/gtk-qnxtheme.diff Message-ID: <1108319056.0@scienide.energyhq.es.eu.org> Resent-Message-ID: <200502131830.j1DIUTWt038667@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77461 >Category: ports >Synopsis: [Maintainer Update] x11-themes/gtk-qnxtheme.diff >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Feb 13 18:30:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Miguel Mendez >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD 5.3-STABLE #0: Tue Feb 8 13:02:32 CET 2005 root@scienide.energyhq.es.eu.org:/usr/src/sys/i386/compile/SCIENIDE.SMP >Description: - Use ${MASTER_SITE_THEMES} - OPTIONS'ify - Fix plist as reported by pointyhat (kris) >How-To-Repeat: >Fix: --- gtk-qnxtheme.diff begins here --- diff -ruN gtk-qnxtheme.old/Makefile gtk-qnxtheme/Makefile --- gtk-qnxtheme.old/Makefile Wed Jun 2 04:26:23 2004 +++ gtk-qnxtheme/Makefile Sun Feb 13 19:16:22 2005 @@ -9,12 +9,23 @@ PORTVERSION= 0.1 PORTREVISION= 2 CATEGORIES= x11-themes -MASTER_SITES= http://download.freshmeat.net/themes/qnxtheme/ +MASTER_SITES= ${MASTER_SITE_THEMES} +MASTER_SITE_SUBDIR= qnxtheme DISTNAME= qnxtheme-default-${PORTVERSION} MAINTAINER= flynn@energyhq.es.eu.org COMMENT= QNX-inspired theme for GTK1 and GTK2 +WANT_GNOME= yes +USE_REINPLACE= yes +USE_X_PREFIX= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR}/QNX + +OPTIONS+= GTK2 "Build the GTK2 theme as well." off + +.include <bsd.port.pre.mk> + .if defined(WITH_GTK2) USE_GNOME= gtk20 PLIST_SUB+= GTK2="" @@ -22,18 +33,9 @@ PLIST_SUB+= GTK2="@comment " .endif -USE_REINPLACE= yes -USE_X_PREFIX= yes -NO_BUILD= yes -WRKSRC= ${WRKDIR}/QNX - -pre-everything:: - @${ECHO} "" - @${ECHO} "By default only gtk-1.2 theme engine will be built." - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_GTK2=yes Build gtk-2 theme" - @${ECHO} "" +# XXX - port build fails unless I create dummy file if OPTIONS aren't yet set +post-extract: + @${ECHO_CMD} "all:" > ${WRKSRC}/Makefile do-install: @${REINPLACE_CMD} -e 's@/usr@${X11BASE}@g' ${WRKSRC}/gtk/gtkrc @@ -53,4 +55,4 @@ done .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -ruN gtk-qnxtheme.old/pkg-plist gtk-qnxtheme/pkg-plist --- gtk-qnxtheme.old/pkg-plist Thu Jan 30 20:27:51 2003 +++ gtk-qnxtheme/pkg-plist Sun Feb 13 18:57:55 2005 @@ -75,3 +75,4 @@ %%GTK2%%@dirrm share/themes/qnxtheme/gtk-2.0 @dirrm share/themes/qnxtheme/gtk @dirrm share/themes/qnxtheme +@unexec rmdir %D/share/themes 2>/dev/null || true --- gtk-qnxtheme.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108319056.0>