8c60a5a8fc
"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>
36 lines
927 B
Makefile
36 lines
927 B
Makefile
# New ports collection makefile for: gtk-engines
|
|
# Version required: 0.1
|
|
# Date Created: 23 Dec 1998
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.4 1999/01/27 08:31:54 fenner Exp $
|
|
#
|
|
|
|
DISTNAME= gtk-engines-0.1
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ftp://freebsd.csie.nctu.edu.tw/Upload/ \
|
|
${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= gtk-engines
|
|
|
|
MAINTAINER= vanilla@FreeBSD.ORG
|
|
|
|
LIB_DEPENDS= gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel \
|
|
gdk_imlib.2:${PORTSDIR}/graphics/imlib
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
|
|
.include <bsd.port.mk>
|