diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-18 21:16:04 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-18 21:16:04 +0000 |
commit | 7e807bd8f008700ccf890fbae15465a2f9c1b726 (patch) | |
tree | 2e092bdecda2507403a24bee3bb38351984e5c9a /x11-themes | |
parent | d2286ad279689df2dd9f3a97d8878672a8d7fad5 (diff) | |
download | ports-7e807bd8f008700ccf890fbae15465a2f9c1b726.tar.gz ports-7e807bd8f008700ccf890fbae15465a2f9c1b726.zip |
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/gtk-qnxtheme/Makefile | 30 | ||||
-rw-r--r-- | x11-themes/gtk-qnxtheme/pkg-plist | 1 |
2 files changed, 17 insertions, 14 deletions
diff --git a/x11-themes/gtk-qnxtheme/Makefile b/x11-themes/gtk-qnxtheme/Makefile index 32ec7eddb96f..c78c14a717b4 100644 --- a/x11-themes/gtk-qnxtheme/Makefile +++ b/x11-themes/gtk-qnxtheme/Makefile @@ -9,12 +9,23 @@ PORTNAME= gtk-qnxtheme 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="" 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 @@ do-install: done .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-themes/gtk-qnxtheme/pkg-plist b/x11-themes/gtk-qnxtheme/pkg-plist index 14f3c6649596..bb02d9b74b75 100644 --- a/x11-themes/gtk-qnxtheme/pkg-plist +++ b/x11-themes/gtk-qnxtheme/pkg-plist @@ -75,3 +75,4 @@ share/themes/qnxtheme/gtk/vbuttonbar.png %%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 |