summaryrefslogtreecommitdiff
path: root/net-im/ickle/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-03 01:06:26 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-03 01:06:26 +0000
commitb9d28dac8bcf452764f8ce8b746fec7b7f1d08c6 (patch)
treeb30ed2b5536a097f7dedd7f93759426c246d1d38 /net-im/ickle/Makefile
parentFix format string bugs. (diff)
Deploy USE_GNOMENG infrastructure
PR: 42345 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes: svn path=/head/; revision=65520
Diffstat (limited to 'net-im/ickle/Makefile')
-rw-r--r--net-im/ickle/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net-im/ickle/Makefile b/net-im/ickle/Makefile
index dfb0386799f0..410eabe3971f 100644
--- a/net-im/ickle/Makefile
+++ b/net-im/ickle/Makefile
@@ -19,8 +19,9 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \
icq2000.5:${PORTSDIR}/net/libicq2000
USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
WANT_GNOME= yes
-USE_GTK= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@@ -35,9 +36,9 @@ post-patch:
.include <bsd.port.pre.mk>
-.if defined(HAVE_GNOME) || defined(WITH_GNOME)
-USE_GNOME= yes
-
+.if ${HAVE_GNOME:Mlibcapplet}!="" || defined(WITH_GNOME)
+USE_GNOME+= libcapplet
+PKGNAMESUFFIX= -gnome
PLIST_SUB+= ICKLEDATADIR="share/gnome/" GNOME="" NOGNOME="@comment "
.else
CONFIGURE_ARGS+= --with-gnome=no
@@ -54,7 +55,7 @@ PLIST_SUB+= ICKLECONTROL="@comment "
.endif
pre-everything::
-.if !defined(HAVE_GNOME) && !defined(WITH_GNOME)
+.if ${HAVE_GNOME:Mlibcapplet}=="" && !defined(WITH_GNOME)
@${ECHO_MSG} "===> Define WITH_GNOME to enable GNOME support"
.endif
.if !defined(WITH_ICKLE_CONTROL)