diff options
author | ahze <ahze@FreeBSD.org> | 2005-04-13 10:59:29 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-04-13 10:59:29 +0800 |
commit | e4c86d9dbf0ed908b613e80973d57a4d5a054c80 (patch) | |
tree | 880f22b0258bef448e03b6cd57e0d5d42ae1daef /x11-themes/clearlooks | |
parent | 485bdc29fbb3346be72dae30687c4994ac7ec8a0 (diff) | |
download | freebsd-ports-gnome-e4c86d9dbf0ed908b613e80973d57a4d5a054c80.tar.gz freebsd-ports-gnome-e4c86d9dbf0ed908b613e80973d57a4d5a054c80.tar.zst freebsd-ports-gnome-e4c86d9dbf0ed908b613e80973d57a4d5a054c80.zip |
- Add support for a slave port
Diffstat (limited to 'x11-themes/clearlooks')
-rw-r--r-- | x11-themes/clearlooks/Makefile | 20 | ||||
-rw-r--r-- | x11-themes/clearlooks/pkg-plist | 2 |
2 files changed, 18 insertions, 4 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile index 41dc17de7077..a0263a3e2cd2 100644 --- a/x11-themes/clearlooks/Makefile +++ b/x11-themes/clearlooks/Makefile @@ -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 diff --git a/x11-themes/clearlooks/pkg-plist b/x11-themes/clearlooks/pkg-plist index 88cc03344af3..5400d430e6a4 100644 --- a/x11-themes/clearlooks/pkg-plist +++ b/x11-themes/clearlooks/pkg-plist @@ -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 |