1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

GNOME policy:

- Fix libintl detection;
- properly use ${PREFIX}/share/gnome.
This commit is contained in:
Maxim Sobolev 2002-05-13 12:06:47 +00:00
parent bf89b2e330
commit 187ecafe15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59002
3 changed files with 31 additions and 10 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= ghfaxviewer
PORTVERSION= 0.22.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= halifax
@ -22,7 +22,16 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= halifax.1 ghfaxviewer.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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>

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- configure 2002/05/13 12:02:06 1.1
+++ configure 2002/05/13 12:02:24
@@ -4759,7 +4759,7 @@
CFLAGS="$CFLAGS `gnome-config --cflags gnomeui`"
LDFLAGS="$LDFLAGS `gnome-config --libs gnomeui`"
PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/ghfaxviewer"
- GNOME_GRAPH_APP_DIR="`gnome-config --datadir`/gnome/apps/Graphics"
+ GNOME_GRAPH_APP_DIR="`gnome-config --datadir`/apps/Graphics"
# Check whether --with-gnome-print-prefix or --without-gnome-print-prefix was given.
if test "${with_gnome_print_prefix+set}" = set; then

View File

@ -1,12 +1,10 @@
bin/ghfaxviewer
lib/charset.alias
share/gnome/pixmaps/ghfaxviewer/info.xpm
share/gnome/pixmaps/ghfaxviewer/ghfaxviewer-logo.xpm
share/gnome/apps/Graphics/ghfaxviewer.desktop
share/gnome/pixmaps/ghfaxviewer/ghfaxviewer-icon.xpm
share/gnome/locale/de/LC_MESSAGES/ghfaxviewer.mo
share/gnome/locale/fr/LC_MESSAGES/ghfaxviewer.mo
share/gnome/locale/locale.alias
share/gnome/locale/pl/LC_MESSAGES/ghfaxviewer.mo
share/gnome/locale/zh_TW.Big5/LC_MESSAGES/ghfaxviewer.mo
share/gnome/gnome/apps/Graphics/ghfaxviewer.desktop
share/gnome/pixmaps/ghfaxviewer/ghfaxviewer-logo.xpm
share/gnome/pixmaps/ghfaxviewer/info.xpm
share/locale/de/LC_MESSAGES/ghfaxviewer.mo
share/locale/fr/LC_MESSAGES/ghfaxviewer.mo
share/locale/pl/LC_MESSAGES/ghfaxviewer.mo
share/locale/zh_TW.Big5/LC_MESSAGES/ghfaxviewer.mo
@dirrm share/gnome/pixmaps/ghfaxviewer