# New ports collection makefile for: gtk-engines # Version required: 0.5 # Date Created: 23 Dec 1998 # Whom: Vanilla I. Shu # # $Id: Makefile,v 1.7 1999/02/02 17:01:42 vanilla Exp $ # DISTNAME= gtk-engines-0.5 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= gnome-1.0/sources MAINTAINER= vanilla@FreeBSD.ORG LIB_DEPENDS= gdk_imlib.2:${PORTSDIR}/graphics/imlib USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-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 .include