1d7d307b02
* Put in the right category [1] * Really add support for gtk+-1.2 * Fix up plist * Fix libtool support * Allow the gtk+-1.2 engine to build on -STABLE * Use gnometarget by default * Don't create a useless symlink * Make PREFIX-safe * Make full use of USE_GNOME/WANT_GNOME [1] * This port doesn't require INSTALLS_SHLIB * Add CONFLICTS for gnome-themes-extras [1] Submitted by: maintainer [1]
67 lines
1.3 KiB
Makefile
67 lines
1.3 KiB
Makefile
# New ports collection makefile for: gtk-smooth-engine
|
|
# Date created: 19 November 2003
|
|
# Whom: Anish Mistry
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtk-smooth-engine
|
|
PORTVERSION= 0.5.6
|
|
CATEGORIES= x11-toolkits gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= smooth-engine
|
|
|
|
MAINTAINER= amistry@am-productions.biz
|
|
COMMENT= Flexible GTK Theme Engine
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_LIBTOOL= yes
|
|
USE_GNOME= gnometarget
|
|
WANT_GNOME= yes
|
|
CONFIGURE_ENV= X11BASE="${X11BASE}"
|
|
|
|
CONFLICTS= gnome-themes-extras-*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mgtk20}!=""
|
|
WITH_GTK2= yes
|
|
.endif
|
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
WITH_GTK12= yes
|
|
.endif
|
|
|
|
# if neither gtk is detected automatically pull in gtk2
|
|
.if !defined(WITH_GTK12) && !defined(WITH_GTK2)
|
|
WITH_GTK2= yes
|
|
.endif
|
|
|
|
.if defined(WITH_GTK2)
|
|
USE_GNOME+= gtk20
|
|
CONFIGURE_ARGS+=--enable-gtk-2
|
|
PLIST_SUB+= GTK2:=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-gtk-2
|
|
PLIST_SUB+= GTK2:="@comment "
|
|
.endif
|
|
|
|
.if defined(WITH_GTK12)
|
|
USE_GNOME+= gtk12
|
|
CONFIGURE_ARGS+=--enable-gtk-1
|
|
PLIST_SUB+= GTK1:=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-gtk-1
|
|
PLIST_SUB+= GTK1:="@comment "
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_GTK2)
|
|
@${ECHO_MSG} "To enable gtk2 support define WITH_GTK2."
|
|
.endif
|
|
|
|
.if !defined(WITH_GTK12)
|
|
@${ECHO_MSG} "To enable gtk12 support define WITH_GTK12."
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|