diff options
author | vanilla <vanilla@FreeBSD.org> | 1999-01-30 19:42:47 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1999-01-30 19:42:47 +0000 |
commit | bbd053d8befe68b484107e7199dbba636c75c80b (patch) | |
tree | b009bb966815ed24b5c0c7bc6d5e152723db565c /x11-themes/gtk-engines2/Makefile | |
parent | 8d8a67f8e918c8b197bfd9a48109de23c9c92817 (diff) | |
download | FreeBSD-ports-bbd053d8befe68b484107e7199dbba636c75c80b.zip FreeBSD-ports-bbd053d8befe68b484107e7199dbba636c75c80b.tar.gz |
Submitter say:
"The biggest change is to the gtk-engines port, where I've made the gtkrc
files get the correct prefix. I've added the path to all the files, which
may be overkill (it's only really needed for the pixmap theme), but was
easier to do in an automated way, and provides a better example for people
making their own themes."
Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Diffstat (limited to 'x11-themes/gtk-engines2/Makefile')
-rw-r--r-- | x11-themes/gtk-engines2/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile index bb7b87a..6e23b56 100644 --- a/x11-themes/gtk-engines2/Makefile +++ b/x11-themes/gtk-engines2/Makefile @@ -3,7 +3,7 @@ # Date Created: 23 Dec 1998 # Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG> # -# $Id: Makefile,v 1.3 1999/01/26 02:22:29 foxfair Exp $ +# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $ # DISTNAME= gtk-engines-0.1 @@ -19,8 +19,16 @@ LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \ USE_X_PREFIX= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" \ - GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" +CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk11d-config" + +THEMES= metal notif pixmap redmond95 + +post-patch: + @for theme in ${THEMES}; do \ + cd ${WRKSRC}/$$theme/Theme/gtk; \ + ${MV} gtkrc gtkrc.tmp; \ + ${SED} -e s^%%PREFIX%%^${PREFIX}^g < gtkrc.tmp > gtkrc; \ + done post-install: @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib |