summaryrefslogtreecommitdiff
path: root/mail/sonicmail
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-13 09:31:45 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-13 09:31:45 +0000
commit3998f58fb4b97f71069624dec1b8dfeea0023d90 (patch)
treec7f6322cbb886d7328c3f3986f22fc5cd8f45042 /mail/sonicmail
parentMake this port use GNOME. (diff)
Put pixmaps and sounds into share/gnome.
Notes
Notes: svn path=/head/; revision=33765
Diffstat (limited to 'mail/sonicmail')
-rw-r--r--mail/sonicmail/Makefile7
-rw-r--r--mail/sonicmail/files/patch-aa4
-rw-r--r--mail/sonicmail/pkg-plist30
3 files changed, 17 insertions, 24 deletions
diff --git a/mail/sonicmail/Makefile b/mail/sonicmail/Makefile
index 6c166a89a5d2..7d60d2d82786 100644
--- a/mail/sonicmail/Makefile
+++ b/mail/sonicmail/Makefile
@@ -15,11 +15,4 @@ MAINTAINER= nakai@FreeBSD.org
USE_X_PREFIX= yes
USE_GNOME= yes
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
-
.include <bsd.port.mk>
diff --git a/mail/sonicmail/files/patch-aa b/mail/sonicmail/files/patch-aa
index 2986fa716524..62fb57cfe865 100644
--- a/mail/sonicmail/files/patch-aa
+++ b/mail/sonicmail/files/patch-aa
@@ -6,8 +6,8 @@
# Change these to the default location of the pixmaps/wav files:
-XPMSPATH = /usr/share/pixmaps/sonicmail
-WAVSPATH = /usr/share/sound/sonicmail
-+XPMSPATH = ${PREFIX}/share/pixmaps/sonicmail
-+WAVSPATH = ${PREFIX}/share/sound/sonicmail
++XPMSPATH = ${PREFIX}/share/gnome/pixmaps/sonicmail
++WAVSPATH = ${PREFIX}/share/gnome/sounds/sonicmail
# Change to 1 to activate debug mode:
SONICMAIL_DEBUG = 0
diff --git a/mail/sonicmail/pkg-plist b/mail/sonicmail/pkg-plist
index 3c929c38a935..488d668b6a86 100644
--- a/mail/sonicmail/pkg-plist
+++ b/mail/sonicmail/pkg-plist
@@ -1,18 +1,18 @@
bin/sonicmail
etc/CORBA/servers/sonicmail.gnorba
share/gnome/applets/Network/sonicmail.desktop
-share/pixmaps/sonicmail/Mail.xpm
-share/pixmaps/sonicmail/MailboxEmpty.xpm
-share/pixmaps/sonicmail/MailboxFull.xpm
-share/pixmaps/sonicmail/MailboxUnknown.xpm
-share/pixmaps/sonicmail/netscape-mailfull.xpm
-share/pixmaps/sonicmail/netscape-nomail.xpm
-share/pixmaps/sonicmail/ultrafina-back.xpm
-share/pixmaps/sonicmail/ultrafina-newmail.xpm
-share/pixmaps/sonicmail/ultrafina-nomail.xpm
-share/pixmaps/sonicmail/ultrafina-offline.xpm
-share/sound/sonicmail/Wooeep.wav
-share/sound/sonicmail/buzz.wav
-share/sound/sonicmail/default.wav
-@dirrm share/pixmaps/sonicmail
-@dirrm share/sound/sonicmail
+share/gnome/pixmaps/sonicmail/Mail.xpm
+share/gnome/pixmaps/sonicmail/MailboxEmpty.xpm
+share/gnome/pixmaps/sonicmail/MailboxFull.xpm
+share/gnome/pixmaps/sonicmail/MailboxUnknown.xpm
+share/gnome/pixmaps/sonicmail/netscape-mailfull.xpm
+share/gnome/pixmaps/sonicmail/netscape-nomail.xpm
+share/gnome/pixmaps/sonicmail/ultrafina-back.xpm
+share/gnome/pixmaps/sonicmail/ultrafina-newmail.xpm
+share/gnome/pixmaps/sonicmail/ultrafina-nomail.xpm
+share/gnome/pixmaps/sonicmail/ultrafina-offline.xpm
+share/gnome/sounds/sonicmail/Wooeep.wav
+share/gnome/sounds/sonicmail/buzz.wav
+share/gnome/sounds/sonicmail/default.wav
+@dirrm share/gnome/pixmaps/sonicmail
+@dirrm share/gnome/sounds/sonicmail