aboutsummaryrefslogtreecommitdiffstats
path: root/net/everybuddy
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
commit68dad4980b984b6c03859651af5eefb37c1c9d90 (patch)
treea1b402b639681e7623529a2295404459e0d45edf /net/everybuddy
parent30fb8569371544b140cbfbe9d8d545a551b7a815 (diff)
downloadfreebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip
Implement USE_GNOME, part 2.
Diffstat (limited to 'net/everybuddy')
-rw-r--r--net/everybuddy/Makefile19
-rw-r--r--net/everybuddy/files/patch-ae2
-rw-r--r--net/everybuddy/files/patch-af14
-rw-r--r--net/everybuddy/pkg-plist13
4 files changed, 27 insertions, 21 deletions
diff --git a/net/everybuddy/Makefile b/net/everybuddy/Makefile
index 2b1f8a032240..9277130cfde5 100644
--- a/net/everybuddy/Makefile
+++ b/net/everybuddy/Makefile
@@ -6,28 +6,19 @@
#
PORTNAME= everybuddy
-PORTVERSION= 0.1.4-2
+PORTVERSION= 0.1.4.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.everybuddy.com/files/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.2/-2/}
MAINTAINER= jim@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- esd.2:${PORTSDIR}/audio/esound
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
-GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
- GLIB_CONFIG="${GLIB_CONFIG}"
+USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
MAN1= everybuddy.1
-post-patch:
- @${CP} ${FILESDIR}/config.h ${WRKSRC}/src
-
.include <bsd.port.mk>
diff --git a/net/everybuddy/files/patch-ae b/net/everybuddy/files/patch-ae
index 4918144ca31d..554421bb9cda 100644
--- a/net/everybuddy/files/patch-ae
+++ b/net/everybuddy/files/patch-ae
@@ -5,7 +5,7 @@
ACLOCAL_AMFLAGS = -I m4
-Utilitiesdir = /etc/X11/applnk/Internet
-+Utilitiesdir = ${PREFIX}/share/applnk/Internet
++Utilitiesdir = $(datadir)/apps/Internet
Utilities_DATA = Everybuddy.desktop
EXTRA_DIST = Everybuddy.desktop
diff --git a/net/everybuddy/files/patch-af b/net/everybuddy/files/patch-af
new file mode 100644
index 000000000000..9380f8dd1e94
--- /dev/null
+++ b/net/everybuddy/files/patch-af
@@ -0,0 +1,14 @@
+--- src/config.sh.in.orig Sun Oct 1 23:04:45 2000
++++ src/config.sh.in Sun Oct 1 23:06:02 2000
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+-rm config.h >& /dev/null
+-echo \#define BuddyArriveDefault \"@prefix@/share/sounds/everybuddy/BuddyArrive.au\" >> config.h
+-echo \#define BuddyLeaveDefault \"@prefix@/share/sounds/everybuddy/BuddyLeave.au\" >> config.h
+-echo \#define SendDefault \"@prefix@/share/sounds/everybuddy/Send.au\" >> config.h
+-echo \#define RecieveDefault \"@prefix@/share/sounds/everybuddy/Receive.au\" >> config.h
++rm config.h 2> /dev/null
++echo \#define BuddyArriveDefault \"@datadir@/sounds/everybuddy/BuddyArrive.au\" >> config.h
++echo \#define BuddyLeaveDefault \"@datadir@/sounds/everybuddy/BuddyLeave.au\" >> config.h
++echo \#define SendDefault \"@datadir@/sounds/everybuddy/Send.au\" >> config.h
++echo \#define RecieveDefault \"@datadir@/sounds/everybuddy/Receive.au\" >> config.h
diff --git a/net/everybuddy/pkg-plist b/net/everybuddy/pkg-plist
index 461b438122d9..519ff0959c11 100644
--- a/net/everybuddy/pkg-plist
+++ b/net/everybuddy/pkg-plist
@@ -1,9 +1,10 @@
bin/everybuddy
bin/update.pl
bin/contact-update.pl
-share/applnk/Internet/Everybuddy.desktop
-share/pixmaps/ebicon.xpm
-share/sounds/everybuddy/BuddyArrive.au
-share/sounds/everybuddy/BuddyLeave.au
-share/sounds/everybuddy/Send.au
-share/sounds/everybuddy/Receive.au
+share/gnome/apps/Internet/Everybuddy.desktop
+share/gnome/pixmaps/ebicon.xpm
+share/gnome/sounds/everybuddy/BuddyArrive.au
+share/gnome/sounds/everybuddy/BuddyLeave.au
+share/gnome/sounds/everybuddy/Send.au
+share/gnome/sounds/everybuddy/Receive.au
+@dirrm share/gnome/sounds/everybuddy