1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 3.0

PR:		33058
Submitted by:	tkato@prontomail.com
This commit is contained in:
David W. Chapman Jr. 2001-12-22 22:28:09 +00:00
parent 0e9aae98e0
commit 312c103913
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52015
6 changed files with 15 additions and 60 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gbiff
PORTVERSION= 2.4a
PORTREVISION= 1
PORTVERSION= 3.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -15,15 +14,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nakai@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|`gtk-config --cflags`|`\$$GTK_CONFIG --cflags`|g ; \
s|`gtk-config --libs`|`\$$GTK_CONFIG --libs`|g ; \
s|<iconv.h>|<giconv.h>|g ; \
s|-liconv|-lgiconv|g ; \
s|DATADIRNAME}"|DATADIRNAME}/gnome"|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'

View File

@ -1 +1 @@
MD5 (gbiff-2.4a.tar.gz) = 9aefbca00c70bfc5538075e05269436c
MD5 (gbiff-3.0.tar.gz) = 2b712902ce0c4a29fd35f4be80b3180d

View File

@ -1,20 +0,0 @@
--- src/protocol.c.orig Sat Mar 31 22:01:07 2001
+++ src/protocol.c Sat Mar 31 22:01:39 2001
@@ -392,7 +392,7 @@
sup_bound = 0;
range_end = 0;
while (fgets (line, 4095, file)) {
- if strstr (line, "unseen:") {
+ if(strstr (line, "unseen:")){
buffer = line + strlen ("unseen: ");
while (*buffer != '\n') {
@@ -550,7 +550,7 @@
sup_bound = 0;
range_end = 0;
while (fgets (line, 4095, file)) {
- if strstr (line, "unseen:") {
+ if(strstr (line, "unseen:")){
buffer = line + strlen ("unseen: ");
while (*buffer != '\n') {
/*

View File

@ -1,17 +0,0 @@
--- configure.orig Sat Mar 31 22:26:45 2001
+++ configure Sat Mar 31 22:27:00 2001
@@ -3834,12 +3834,12 @@
if test "x${prefix}" = "xNONE"; then
cat >> confdefs.h <<EOF
-#define PACKAGE_DATA_DIR "${ac_default_prefix}/${DATADIRNAME}"
+#define PACKAGE_DATA_DIR "${ac_default_prefix}/${DATADIRNAME}/gnome"
EOF
else
cat >> confdefs.h <<EOF
-#define PACKAGE_DATA_DIR "${prefix}/${DATADIRNAME}"
+#define PACKAGE_DATA_DIR "${prefix}/${DATADIRNAME}/gnome"
EOF
fi

View File

@ -1,15 +0,0 @@
--- src/gbiff.c.orig Fri Mar 23 05:47:18 2001
+++ src/gbiff.c Thu Apr 12 03:17:41 2001
@@ -25,12 +25,10 @@
# include <gnome.h>
# include <applet-widget.h>
#endif
-#include <popt.h>
#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-#include <popt.h>
#include "protocol.h"
#include "callbacks.h"

View File

@ -1,10 +1,14 @@
bin/gbiff
etc/CORBA/servers/gbiff.gnorba
share/gnome/applets/Network/gbiff.desktop
share/gnome/locale/fr/LC_MESSAGES/gbiff.mo
share/gnome/pixmaps/gbiff/gbiff.png
share/gnome/pixmaps/gbiff/gnome-mail.xpm
share/gnome/pixmaps/gbiff/gnome-nomail.xpm
share/gnome/pixmaps/gbiff/gtk-mail.xpm
share/gnome/pixmaps/gbiff/gtk-nomail.xpm
share/gnome/pixmaps/gbiff/logo.xpm
share/gnome/pixmaps/gbiff/play.xpm
share/gnome/sounds/gbiff/mail.wav
@dirrm share/gnome/pixmaps/gbiff
@dirrm share/gnome/sounds/gbiff
@dirrm share/gnome/pixmaps/gbiff