diff options
Diffstat (limited to 'net-im/ickle/Makefile')
-rw-r--r-- | net-im/ickle/Makefile | 11 |
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) |