aboutsummaryrefslogtreecommitdiff
path: root/net-im/ickle
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-26 00:22:07 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-26 00:22:07 +0000
commit573d94952bcaeef13b5cf2f18fe0dae6f1bdccb9 (patch)
tree82f98040d31e6740a1b0c4f81a8155215ccc397b /net-im/ickle
parent015ee1e8e6f209d3cc081678e6a8521e21659902 (diff)
downloadports-573d94952bcaeef13b5cf2f18fe0dae6f1bdccb9.tar.gz
ports-573d94952bcaeef13b5cf2f18fe0dae6f1bdccb9.zip
Notes
Diffstat (limited to 'net-im/ickle')
-rw-r--r--net-im/ickle/Makefile20
-rw-r--r--net-im/ickle/files/patch-src::Makefile.in11
-rw-r--r--net-im/ickle/pkg-plist224
3 files changed, 135 insertions, 120 deletions
diff --git a/net-im/ickle/Makefile b/net-im/ickle/Makefile
index 7424d7f0dba1..483fc0015c7f 100644
--- a/net-im/ickle/Makefile
+++ b/net-im/ickle/Makefile
@@ -16,10 +16,28 @@ MAINTAINER= troff@paranoia.ru
LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk--
+WANT_GNOME= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
--with-gtkmm-prefix=${X11BASE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME) || defined(WITH_GNOME)
+USE_GNOME= yes
+
+PLIST_SUB+= ICKLEDATADIR="share/gnome/" GNOME="" NOGNOME="@comment "
+.else
+CONFIGURE_ARGS+= --disable-gnome
+
+PLIST_SUB+= ICKLEDATADIR="share/" GNOME="@comment " NOGNOME=""
+.endif
+
+pre-everything::
+.if !defined(HAVE_GNOME) && !defined(WITH_GNOME)
+ @${ECHO_MSG} "===> Define WITH_GNOME to enable GNOME support"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/ickle/files/patch-src::Makefile.in b/net-im/ickle/files/patch-src::Makefile.in
deleted file mode 100644
index 97c7b193e15d..000000000000
--- a/net-im/ickle/files/patch-src::Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Tue Dec 18 19:19:59 2001
-+++ src/Makefile.in Tue Dec 18 19:20:11 2001
-@@ -387,7 +387,7 @@
-
- install-data-am: install-pkgincludeHEADERS
-
--install-exec-am: install-libLTLIBRARIES
-+install-exec-am:
-
- install-info: install-info-am
-
diff --git a/net-im/ickle/pkg-plist b/net-im/ickle/pkg-plist
index 73fb6c7d9c09..d408801de6fe 100644
--- a/net-im/ickle/pkg-plist
+++ b/net-im/ickle/pkg-plist
@@ -1,4 +1,6 @@
-bin/ickle
+%%NOGNOME%%bin/ickle
+%%GNOME%%bin/ickle_applet
+%%GNOME%%etc/CORBA/servers/ickle_applet.gnorba
include/ickle/Cache.h
include/ickle/Client.h
include/ickle/Contact.h
@@ -33,111 +35,117 @@ include/ickle/userinfoconstants.h
lib/libicq2000.a
lib/libicq2000.so
lib/libicq2000.so.2
-share/ickle/icons/doors/away.xpm
-share/ickle/icons/doors/chat.xpm
-share/ickle/icons/doors/dnd.xpm
-share/ickle/icons/doors/ffc.xpm
-share/ickle/icons/doors/file.xpm
-share/ickle/icons/doors/invisible.xpm
-share/ickle/icons/doors/message.xpm
-share/ickle/icons/doors/na.xpm
-share/ickle/icons/doors/occ.xpm
-share/ickle/icons/doors/offline.xpm
-share/ickle/icons/doors/online.xpm
-share/ickle/icons/doors/sms.xpm
-share/ickle/icons/doors/url.xpm
-share/ickle/icons/gnomeicu/away.xpm
-share/ickle/icons/gnomeicu/chat.xpm
-share/ickle/icons/gnomeicu/dnd.xpm
-share/ickle/icons/gnomeicu/ffc.xpm
-share/ickle/icons/gnomeicu/file.xpm
-share/ickle/icons/gnomeicu/invisible.xpm
-share/ickle/icons/gnomeicu/message.xpm
-share/ickle/icons/gnomeicu/na.xpm
-share/ickle/icons/gnomeicu/occ.xpm
-share/ickle/icons/gnomeicu/offline.xpm
-share/ickle/icons/gnomeicu/online.xpm
-share/ickle/icons/gnomeicu/sms.xpm
-share/ickle/icons/gnomeicu/url.xpm
-share/ickle/icons/ickle/away.xpm
-share/ickle/icons/ickle/chat.xpm
-share/ickle/icons/ickle/dnd.xpm
-share/ickle/icons/ickle/ffc.xpm
-share/ickle/icons/ickle/file.xpm
-share/ickle/icons/ickle/invisible.xpm
-share/ickle/icons/ickle/message.xpm
-share/ickle/icons/ickle/na.xpm
-share/ickle/icons/ickle/occ.xpm
-share/ickle/icons/ickle/offline.xpm
-share/ickle/icons/ickle/online.xpm
-share/ickle/icons/ickle/sms.xpm
-share/ickle/icons/ickle/url.xpm
-share/ickle/icons/icq/away.xpm
-share/ickle/icons/icq/chat.xpm
-share/ickle/icons/icq/dnd.xpm
-share/ickle/icons/icq/ffc.xpm
-share/ickle/icons/icq/file.xpm
-share/ickle/icons/icq/invisible.xpm
-share/ickle/icons/icq/message.xpm
-share/ickle/icons/icq/na.xpm
-share/ickle/icons/icq/occ.xpm
-share/ickle/icons/icq/offline.xpm
-share/ickle/icons/icq/online.xpm
-share/ickle/icons/icq/sms.xpm
-share/ickle/icons/icq/url.xpm
-share/ickle/icons/new/away.xpm
-share/ickle/icons/new/chat.xpm
-share/ickle/icons/new/dnd.xpm
-share/ickle/icons/new/ffc.xpm
-share/ickle/icons/new/file.xpm
-share/ickle/icons/new/invisible.xpm
-share/ickle/icons/new/message.xpm
-share/ickle/icons/new/na.xpm
-share/ickle/icons/new/occ.xpm
-share/ickle/icons/new/offline.xpm
-share/ickle/icons/new/online.xpm
-share/ickle/icons/new/sms.xpm
-share/ickle/icons/new/url.xpm
-share/ickle/translations/ASCII
-share/ickle/translations/CP437
-share/ickle/translations/CP850
-share/ickle/translations/DANISH
-share/ickle/translations/DEC_MCS
-share/ickle/translations/DG_MCS
-share/ickle/translations/DUTCH
-share/ickle/translations/FINNISH
-share/ickle/translations/FRENCH
-share/ickle/translations/FRENCH_CANADIAN
-share/ickle/translations/GERMAN
-share/ickle/translations/HP_MCS
-share/ickle/translations/IRV
-share/ickle/translations/ITALIAN
-share/ickle/translations/JIS
-share/ickle/translations/LATIN_2
-share/ickle/translations/MACINTOSH
-share/ickle/translations/NEXT
-share/ickle/translations/NORWEGIAN_1
-share/ickle/translations/NORWEGIAN_2
-share/ickle/translations/POLISH
-share/ickle/translations/POLISH_NOPL
-share/ickle/translations/PORTUGUESE
-share/ickle/translations/PORTUGUESE_COM
-share/ickle/translations/RUSSIAN
-share/ickle/translations/RUSSIAN_ALT
-share/ickle/translations/RUSSIAN_WIN
-share/ickle/translations/SPANISH
-share/ickle/translations/SWEDISH
-share/ickle/translations/SWEDISH_NAMES
-share/ickle/translations/SWEDISH_NAMES_COM
-share/ickle/translations/SWISS
-share/ickle/translations/UNITED_KINGDOM
-share/ickle/translations/UNITED_KINGDOM_COM
-@dirrm share/ickle/translations
-@dirrm share/ickle/icons/new
-@dirrm share/ickle/icons/icq
-@dirrm share/ickle/icons/ickle
-@dirrm share/ickle/icons/gnomeicu
-@dirrm share/ickle/icons/doors
-@dirrm share/ickle/icons
-@dirrm share/ickle
+%%GNOME%%%%ICKLEDATADIR%%applets/Network/ickle_applet.desktop
+%%ICKLEDATADIR%%ickle/icons/doors/away.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/chat.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/dnd.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/ffc.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/file.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/invisible.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/message.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/na.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/occ.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/offline.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/online.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/sms.xpm
+%%ICKLEDATADIR%%ickle/icons/doors/url.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/away.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/chat.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/dnd.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/ffc.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/file.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/invisible.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/message.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/na.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/occ.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/offline.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/online.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/sms.xpm
+%%ICKLEDATADIR%%ickle/icons/gnomeicu/url.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/away.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/chat.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/dnd.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/ffc.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/file.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/invisible.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/message.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/na.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/occ.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/offline.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/online.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/sms.xpm
+%%ICKLEDATADIR%%ickle/icons/ickle/url.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/away.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/chat.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/dnd.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/ffc.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/file.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/invisible.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/message.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/na.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/occ.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/offline.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/online.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/sms.xpm
+%%ICKLEDATADIR%%ickle/icons/icq/url.xpm
+%%ICKLEDATADIR%%ickle/icons/new/away.xpm
+%%ICKLEDATADIR%%ickle/icons/new/chat.xpm
+%%ICKLEDATADIR%%ickle/icons/new/dnd.xpm
+%%ICKLEDATADIR%%ickle/icons/new/ffc.xpm
+%%ICKLEDATADIR%%ickle/icons/new/file.xpm
+%%ICKLEDATADIR%%ickle/icons/new/invisible.xpm
+%%ICKLEDATADIR%%ickle/icons/new/message.xpm
+%%ICKLEDATADIR%%ickle/icons/new/na.xpm
+%%ICKLEDATADIR%%ickle/icons/new/occ.xpm
+%%ICKLEDATADIR%%ickle/icons/new/offline.xpm
+%%ICKLEDATADIR%%ickle/icons/new/online.xpm
+%%ICKLEDATADIR%%ickle/icons/new/sms.xpm
+%%ICKLEDATADIR%%ickle/icons/new/url.xpm
+%%ICKLEDATADIR%%ickle/translations/ASCII
+%%ICKLEDATADIR%%ickle/translations/CP437
+%%ICKLEDATADIR%%ickle/translations/CP850
+%%ICKLEDATADIR%%ickle/translations/DANISH
+%%ICKLEDATADIR%%ickle/translations/DEC_MCS
+%%ICKLEDATADIR%%ickle/translations/DG_MCS
+%%ICKLEDATADIR%%ickle/translations/DUTCH
+%%ICKLEDATADIR%%ickle/translations/FINNISH
+%%ICKLEDATADIR%%ickle/translations/FRENCH
+%%ICKLEDATADIR%%ickle/translations/FRENCH_CANADIAN
+%%ICKLEDATADIR%%ickle/translations/GERMAN
+%%ICKLEDATADIR%%ickle/translations/HP_MCS
+%%ICKLEDATADIR%%ickle/translations/IRV
+%%ICKLEDATADIR%%ickle/translations/ITALIAN
+%%ICKLEDATADIR%%ickle/translations/JIS
+%%ICKLEDATADIR%%ickle/translations/LATIN_2
+%%ICKLEDATADIR%%ickle/translations/MACINTOSH
+%%ICKLEDATADIR%%ickle/translations/NEXT
+%%ICKLEDATADIR%%ickle/translations/NORWEGIAN_1
+%%ICKLEDATADIR%%ickle/translations/NORWEGIAN_2
+%%ICKLEDATADIR%%ickle/translations/POLISH
+%%ICKLEDATADIR%%ickle/translations/POLISH_NOPL
+%%ICKLEDATADIR%%ickle/translations/PORTUGUESE
+%%ICKLEDATADIR%%ickle/translations/PORTUGUESE_COM
+%%ICKLEDATADIR%%ickle/translations/RUSSIAN
+%%ICKLEDATADIR%%ickle/translations/RUSSIAN_ALT
+%%ICKLEDATADIR%%ickle/translations/RUSSIAN_WIN
+%%ICKLEDATADIR%%ickle/translations/SPANISH
+%%ICKLEDATADIR%%ickle/translations/SWEDISH
+%%ICKLEDATADIR%%ickle/translations/SWEDISH_NAMES
+%%ICKLEDATADIR%%ickle/translations/SWEDISH_NAMES_COM
+%%ICKLEDATADIR%%ickle/translations/SWISS
+%%ICKLEDATADIR%%ickle/translations/UNITED_KINGDOM
+%%ICKLEDATADIR%%ickle/translations/UNITED_KINGDOM_COM
+@dirrm %%ICKLEDATADIR%%ickle/translations
+@dirrm %%ICKLEDATADIR%%ickle/icons/new
+@dirrm %%ICKLEDATADIR%%ickle/icons/icq
+@dirrm %%ICKLEDATADIR%%ickle/icons/ickle
+@dirrm %%ICKLEDATADIR%%ickle/icons/gnomeicu
+@dirrm %%ICKLEDATADIR%%ickle/icons/doors
+@dirrm %%ICKLEDATADIR%%ickle/icons
+@dirrm %%ICKLEDATADIR%%ickle
+@unexec rmdir %D/%%ICKLEDATADIR%%applets/Network 2>/dev/null || true
+@unexec rmdir %D/%%ICKLEDATADIR%%applets 2>/dev/null || true
+@unexec rmdir %D/%%ICKLEDATADIR%% 2>/dev/null || true
@dirrm include/ickle
+@unexec rmdir %D/etc/CORBA/servers 2>/dev/null || true
+@unexec rmdir %D/etc/CORBA 2>/dev/null || true