aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/balsa
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-13 17:34:41 +0800
committerJeremy Lea <reg@FreeBSD.org>2000-10-13 17:34:41 +0800
commit8083c74dfed91ab1c264c22f4b8214b369839501 (patch)
tree4e83127a26101bc968d60228617a2e0d9eecf1ba /japanese/balsa
parent3998f58fb4b97f71069624dec1b8dfeea0023d90 (diff)
downloadfreebsd-ports-8083c74dfed91ab1c264c22f4b8214b369839501.tar.gz
freebsd-ports-8083c74dfed91ab1c264c22f4b8214b369839501.tar.zst
freebsd-ports-8083c74dfed91ab1c264c22f4b8214b369839501.zip
Fix my breakage. Install files in the right places, and use regex style
patching.
Notes
Notes: svn path=/head/; revision=33766
Diffstat (limited to 'japanese/balsa')
-rw-r--r--japanese/balsa/Makefile8
-rw-r--r--japanese/balsa/pkg-plist3
2 files changed, 9 insertions, 2 deletions
diff --git a/japanese/balsa/Makefile b/japanese/balsa/Makefile
index 4db82a09e2d7..4af2f4593a0c 100644
--- a/japanese/balsa/Makefile
+++ b/japanese/balsa/Makefile
@@ -28,6 +28,14 @@ CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LIBS='-L${LOCALBASE}/lib'
MAN1= balsa.1
+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 ; \
+ s|\$\(gnomedatadir\)/gnome|\$\(gnomedatadir\)|g'
+
pre-configure:
${RM} ${WRKSRC}/config.cache ${WRKSRC}/libmutt/config.cache
diff --git a/japanese/balsa/pkg-plist b/japanese/balsa/pkg-plist
index cf16aade1328..f107027a68a5 100644
--- a/japanese/balsa/pkg-plist
+++ b/japanese/balsa/pkg-plist
@@ -2,7 +2,7 @@ bin/balsa
etc/CORBA/servers/balsa.gnorba
etc/sound/events/balsa.soundlist
etc/sound/events/email.soundlist
-share/gnome/gnome/apps/Internet/balsa.desktop
+share/gnome/apps/Internet/balsa.desktop
share/gnome/help/balsa/C/balsa.html
share/gnome/help/balsa/C/g1100.html
share/gnome/help/balsa/C/images/balsa_logo.png
@@ -56,7 +56,6 @@ share/locale/sv/LC_MESSAGES/balsa.mo
share/locale/tr/LC_MESSAGES/balsa.mo
share/locale/uk/LC_MESSAGES/balsa.mo
share/locale/zh_CN/LC_MESSAGES/balsa.mo
-@dirrm share/gnome/gnome/apps/Internet
@dirrm share/gnome/help/balsa/C/images
@dirrm share/gnome/help/balsa/C/stylesheet-images
@dirrm share/gnome/help/balsa/C