Fix my breakage. Install files in the right places, and use regex style

patching.
This commit is contained in:
Jeremy Lea 2000-10-13 09:34:41 +00:00
parent 3998f58fb4
commit 8083c74dfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33766
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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