2005-02-27 09:45:24 +01:00
|
|
|
# New ports collection makefile for: clearlooks
|
|
|
|
# Date created: 2005-02-26
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/x11-themes/clearlooks/Makefile,v 1.8 2007/08/07 04:34:29 mezz Exp $
|
2005-02-27 09:45:24 +01:00
|
|
|
#
|
|
|
|
|
2005-04-13 04:59:29 +02:00
|
|
|
PORTNAME?= clearlooks
|
2005-06-30 14:22:32 +02:00
|
|
|
PORTVERSION= 0.6.2
|
2007-10-25 01:37:25 +02:00
|
|
|
PORTREVISION= 6
|
2005-02-27 09:45:24 +01:00
|
|
|
CATEGORIES= x11-themes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= clearlooks
|
2005-04-13 04:59:29 +02:00
|
|
|
DISTNAME= clearlooks-${PORTVERSION}
|
2005-02-27 09:45:24 +01:00
|
|
|
|
2005-04-13 18:50:05 +02:00
|
|
|
MAINTAINER= ahze@FreeBSD.org
|
|
|
|
COMMENT?= GTK+ 2.x engine based on Bluecurve
|
2005-02-27 09:45:24 +01:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-06-30 14:22:32 +02:00
|
|
|
USE_GNOME= gtk20
|
2005-11-05 07:01:33 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2005-02-27 09:45:24 +01:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib"
|
|
|
|
|
2005-04-13 05:13:39 +02:00
|
|
|
.if defined(PORTNAME) && ${PORTNAME} == "clearlooks"
|
2005-11-05 07:01:33 +01:00
|
|
|
OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off \
|
|
|
|
METACITY "Depend on MetaCity Theme" On
|
2005-04-13 05:13:39 +02:00
|
|
|
.endif
|
2005-03-20 22:53:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-13 04:59:29 +02:00
|
|
|
.if ${PORTNAME} == "clearlooks"
|
2005-06-30 02:42:38 +02:00
|
|
|
CONFLICTS+= gtk-engines2-[0-9]* clearlooks-themes[0-9]*
|
2005-04-13 04:59:29 +02:00
|
|
|
PLIST_SUB+= ENGINE=""
|
|
|
|
.else
|
2005-06-30 02:42:38 +02:00
|
|
|
CONFLICTS+= clearlooks-[0-9]*
|
2005-04-13 04:59:29 +02:00
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
BUILD_DEPENDS+= gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2
|
|
|
|
RUN_DEPENDS+= gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2
|
2005-04-13 04:59:29 +02:00
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/themes
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/themes
|
|
|
|
|
|
|
|
PLIST_SUB+= ENGINE="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-11-05 07:01:33 +01:00
|
|
|
.if !defined(WITHOUT_METACITY) && ${PORTNAME}=="clearlooks"
|
2007-10-25 01:37:25 +02:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity
|
2005-06-30 14:22:32 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-20 22:53:07 +01:00
|
|
|
.if defined(WITH_ANIMATION)
|
|
|
|
CONFIGURE_ARGS+= --enable-animation
|
|
|
|
.endif
|
|
|
|
|
2005-04-14 01:24:36 +02:00
|
|
|
.if ${PORTNAME} == "clearlooks"
|
2005-11-05 07:01:33 +01:00
|
|
|
pre-everything::
|
2005-04-14 01:24:36 +02:00
|
|
|
@if [ -n "`${PKG_INFO} -xI '^gtk-engines2*[0-9]*'`" ]; then \
|
|
|
|
${ECHO_MSG} ; \
|
2005-04-14 01:27:03 +02:00
|
|
|
${ECHO_MSG} "Gnome/gtk-engine users should use ${PORTSDIR}/x11-themes/clearlooks-themes instead" ; \
|
2005-04-14 01:24:36 +02:00
|
|
|
${ECHO_MSG} ; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
|
2005-04-14 01:43:23 +02:00
|
|
|
post-patch:
|
2007-03-22 16:06:32 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
|
2005-06-30 02:42:38 +02:00
|
|
|
.if ${PORTNAME} != "clearlooks"
|
2005-04-14 01:43:23 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|gtkrc||' \
|
|
|
|
${WRKSRC}/themes/Clearlooks/gtk-2.0/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2005-03-20 22:53:07 +01:00
|
|
|
.include <bsd.port.post.mk>
|