diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-05-13 12:06:47 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-05-13 12:06:47 +0000 |
commit | 187ecafe151952666eef2023d11f6e3332435651 (patch) | |
tree | 3e64ce2bb39c7196dcd4fd9b1dbba4a00701efd9 /comms | |
parent | bf89b2e33028bb2a1c747ffd0ee0b7fed4ddb659 (diff) | |
download | ports-187ecafe151952666eef2023d11f6e3332435651.tar.gz ports-187ecafe151952666eef2023d11f6e3332435651.zip |
GNOME policy:
- Fix libintl detection;
- properly use ${PREFIX}/share/gnome.
Notes
Notes:
svn path=/head/; revision=59002
Diffstat (limited to 'comms')
-rw-r--r-- | comms/ghfaxviewer/Makefile | 11 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-configure | 14 | ||||
-rw-r--r-- | comms/ghfaxviewer/pkg-plist | 16 |
3 files changed, 31 insertions, 10 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile index 70ad707ac0b8..0b205cd53e19 100644 --- a/comms/ghfaxviewer/Makefile +++ b/comms/ghfaxviewer/Makefile @@ -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> diff --git a/comms/ghfaxviewer/files/patch-configure b/comms/ghfaxviewer/files/patch-configure new file mode 100644 index 000000000000..94a34523fb58 --- /dev/null +++ b/comms/ghfaxviewer/files/patch-configure @@ -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 diff --git a/comms/ghfaxviewer/pkg-plist b/comms/ghfaxviewer/pkg-plist index 7a17cdd4e87d..757180c7666c 100644 --- a/comms/ghfaxviewer/pkg-plist +++ b/comms/ghfaxviewer/pkg-plist @@ -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 |