1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Add support for a slave port

This commit is contained in:
Michael Johnson 2005-04-13 02:59:29 +00:00
parent ef7f9d2c9c
commit 4a0542d574
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133190
2 changed files with 18 additions and 4 deletions

View File

@ -5,11 +5,12 @@
# $FreeBSD$
#
PORTNAME= clearlooks
PORTNAME?= clearlooks
PORTVERSION= 0.5
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clearlooks
DISTNAME= clearlooks-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ 2.x engine based on Bluecurve
@ -25,10 +26,23 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
OPTIONS= METACITY "Depend on MetaCity Theme" On \
ANIMATION "Enable experimental animated progressbars" Off
CONFLICTS= gtk-engines2-[0-9]*
.include <bsd.port.pre.mk>
.if ${PORTNAME} == "clearlooks"
CONFLICTS= gtk-engines2-[0-9]* clearlooks-themes[0-9]*
PLIST_SUB+= ENGINE=""
.else
CONFLICTS= clearlooks-[0-9]*
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
BUILD_WRKSRC= ${WRKSRC}/themes
INSTALL_WRKSRC= ${WRKSRC}/themes
PLIST_SUB+= ENGINE="@comment "
.endif
.if !defined(WITHOUT_METACITY)
RUN_DEPENDS+= ${X11BASE}/share/gnome/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity
.endif

View File

@ -1,4 +1,4 @@
lib/gtk-2.0/2.4.0/engines/libclearlooks.so
%%ENGINE%%lib/gtk-2.0/2.4.0/engines/libclearlooks.so
share/icons/Clearlooks/16x16/gtk/gtk-apply.png
share/icons/Clearlooks/16x16/gtk/gtk-cancel.png
share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png