aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-08 05:02:44 +0800
committerwill <will@FreeBSD.org>2001-04-08 05:02:44 +0800
commit1752c9188a9b4365a05ed7e192af599c53313357 (patch)
tree18e98594eff0f7dd6621cf38edf38ba8120b09e4 /net
parent275d38e455585331f5b2f91c4b23595bd5ee676c (diff)
downloadfreebsd-ports-gnome-1752c9188a9b4365a05ed7e192af599c53313357.tar.gz
freebsd-ports-gnome-1752c9188a9b4365a05ed7e192af599c53313357.tar.zst
freebsd-ports-gnome-1752c9188a9b4365a05ed7e192af599c53313357.zip
Fixup port net/gtk+licq:
- Build with pspell support. - Remove unnecessary USE_AUTOMAKE. - Properly defined optional GNOME support. - Only install GNOME helppages if building with GNOME support. - Fix build so that licq_*_gui is shared module, not static archive. - Fix pkg-plist. - Fix patch-src::options_dialog.cpp and patch-src::plugin_dialog.cpp to include - unistd.h instead of sys/unistd.h. - Bump PORTREVISION for all the fixes. PR: 26404 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/gtk+licq/Makefile31
-rw-r--r--net/gtk+licq/files/patch-src::options_dialog.cpp2
-rw-r--r--net/gtk+licq/files/patch-src::plugin_dialog.cpp2
-rw-r--r--net/gtk+licq/pkg-plist26
4 files changed, 45 insertions, 16 deletions
diff --git a/net/gtk+licq/Makefile b/net/gtk+licq/Makefile
index 071564c2dcfe..9cc7349b13c3 100644
--- a/net/gtk+licq/Makefile
+++ b/net/gtk+licq/Makefile
@@ -7,33 +7,38 @@
PORTNAME= gtk+licq
PORTVERSION= 0.50.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://gtk.licq.org/download/
MAINTAINER= ishmael27@home.com
BUILD_DEPENDS= ${LOCALBASE}/include/licq/licq_icqd.h:${PORTSDIR}/net/licq
+LIB_DEPENDS= pspell.4:${PORTSDIR}/textproc/pspell
RUN_DEPENDS= licq:${PORTSDIR}/net/licq
USE_GMAKE= yes
USE_GTK= yes
WANT_GNOME= yes
USE_LIBTOOL= yes
-USE_AUTOMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
-.if defined(WITHOUT_GNOME)
-CONFIGURE_ARGS= --disable-gnome
-GUITYPE= gtk
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+CONFIGURE_ARGS= --enable-gnome
.else
-GUITYPE= gnome
+CONFIGURE_ARGS= --disable-gnome
+post-patch:
+ @${PERL5} -pi -e \
+ 's|^SUBDIRS\ =.*|SUBDIRS\ =\ |' ${WRKSRC}/doc/Makefile.in
.endif
-PLIST_SUB= GUITYPE=${GUITYPE}
-
-CONFIGURE_ENV= CPPFLAGS=-"I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-
-post-install:
- strip ${PREFIX}/lib/licq/licq_${GUITYPE}_gui.a
+post-configure:
+ @${PERL5} -pi -e \
+ 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+ ${WRKSRC}/libtool
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/gtk+licq/files/patch-src::options_dialog.cpp b/net/gtk+licq/files/patch-src::options_dialog.cpp
index b626523243f7..cfeba9e882a5 100644
--- a/net/gtk+licq/files/patch-src::options_dialog.cpp
+++ b/net/gtk+licq/files/patch-src::options_dialog.cpp
@@ -3,7 +3,7 @@
@@ -1,5 +1,6 @@
#include "gtk-gui.h"
-+#include <sys/unistd.h>
++#include <unistd.h>
#include <sys/time.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/net/gtk+licq/files/patch-src::plugin_dialog.cpp b/net/gtk+licq/files/patch-src::plugin_dialog.cpp
index 5f1f52ab3e53..3946cb9a74b3 100644
--- a/net/gtk+licq/files/patch-src::plugin_dialog.cpp
+++ b/net/gtk+licq/files/patch-src::plugin_dialog.cpp
@@ -3,7 +3,7 @@
@@ -1,5 +1,6 @@
#include "gtk-gui.h"
-+#include <sys/unistd.h>
++#include <unistd.h>
#include <sys/time.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/net/gtk+licq/pkg-plist b/net/gtk+licq/pkg-plist
index 679526efbcc0..caf7ceadae99 100644
--- a/net/gtk+licq/pkg-plist
+++ b/net/gtk+licq/pkg-plist
@@ -1,4 +1,24 @@
-lib/licq/licq_%%GUITYPE%%_gui.a
+%%GNOME:%%lib/licq/licq_gnome_gui.so
+%%GNOME:%%share/gnome/help/gtk+licq/C/arvancedusage.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/authors.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/bugs.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/docbook.css
+%%GNOME:%%share/gnome/help/gtk+licq/C/goodstuff.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_applet.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_chatwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_infowindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_mainwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_optionwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_regwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_searchwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_sendwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/images/gtk_licq_viewwindow.png
+%%GNOME:%%share/gnome/help/gtk+licq/C/index.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/license.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/prefs.html
+%%GNOME:%%share/gnome/help/gtk+licq/C/topic.dat
+%%GNOME:%%share/gnome/help/gtk+licq/C/usage.html
+%%NOGNOME:%%lib/licq/licq_gtk_gui.so
share/licq/gtk-gui/pixmaps/arrow.xpm
share/licq/gtk-gui/pixmaps/chatBeep.xpm
share/licq/gtk-gui/pixmaps/chatBold.xpm
@@ -21,6 +41,10 @@ share/licq/gtk-gui/pixmaps/sideways_strippeddownlogo.xpm
share/locale/de/LC_MESSAGES/gtk+licq.mo
share/locale/es/LC_MESSAGES/gtk+licq.mo
share/locale/pt/LC_MESSAGES/gtk+licq.mo
+share/locale/pt_BR/LC_MESSAGES/gtk+licq.mo
share/locale/ru/LC_MESSAGES/gtk+licq.mo
+%%GNOME:%%@dirrm share/gnome/help/gtk+licq/C/images
+%%GNOME:%%@dirrm share/gnome/help/gtk+licq/C
+%%GNOME:%%@dirrm share/gnome/help/gtk+licq
@dirrm share/licq/gtk-gui/pixmaps
@dirrm share/licq/gtk-gui