diff options
author | ade <ade@FreeBSD.org> | 2000-08-04 09:19:21 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-08-04 09:19:21 +0800 |
commit | f710791a75a1a897078bc67c9d8d237aa98f6e36 (patch) | |
tree | 9678346bea3d4ebce203fa7ff52257077ed4ac10 /print/ggv2 | |
parent | cb57a6c30e8edc7db27081f1e42de38911b80a8c (diff) | |
download | freebsd-ports-gnome-f710791a75a1a897078bc67c9d8d237aa98f6e36.tar.gz freebsd-ports-gnome-f710791a75a1a897078bc67c9d8d237aa98f6e36.tar.zst freebsd-ports-gnome-f710791a75a1a897078bc67c9d8d237aa98f6e36.zip |
Extensive patchfile cleanups using sobomax's wonderful
post-extract rule
Diffstat (limited to 'print/ggv2')
-rw-r--r-- | print/ggv2/Makefile | 7 | ||||
-rw-r--r-- | print/ggv2/files/patch-aa | 9 | ||||
-rw-r--r-- | print/ggv2/pkg-plist | 5 |
3 files changed, 12 insertions, 9 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile index a220cfcd4a3b..5c42dd93149a 100644 --- a/print/ggv2/Makefile +++ b/print/ggv2/Makefile @@ -25,4 +25,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +post-extract: + @${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/print/ggv2/files/patch-aa b/print/ggv2/files/patch-aa index 3e3c19626d28..93e94800cdea 100644 --- a/print/ggv2/files/patch-aa +++ b/print/ggv2/files/patch-aa @@ -1,14 +1,5 @@ --- configure.orig Sat Apr 17 04:25:20 1999 +++ configure Sat May 22 21:58:31 1999 -@@ -2083,7 +2083,7 @@ - fi - if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 -- PTHREAD_LIB="-lc_r" -+ PTHREAD_LIB="" - else - echo "$ac_t""no" 1>&6 - echo $ac_n "checking for pthread_create""... $ac_c" 1>&6 @@ -4165,15 +4165,15 @@ fi diff --git a/print/ggv2/pkg-plist b/print/ggv2/pkg-plist index 2108e0df3fd6..293f0cd6982d 100644 --- a/print/ggv2/pkg-plist +++ b/print/ggv2/pkg-plist @@ -1,6 +1,8 @@ bin/ggv etc/CORBA/servers/application-ps.gnorba share/gnome/apps/Graphics/ggv.desktop +share/gnome/help/ggv/C/topic.dat +share/gnome/help/ggv/it/topic.dat share/gnome/pixmaps/ggv-splash.png share/gnome/pixmaps/gnome-ghostview.png share/locale/ca/LC_MESSAGES/ggv.mo @@ -28,3 +30,6 @@ share/locale/sl/LC_MESSAGES/ggv.mo share/locale/sv/LC_MESSAGES/ggv.mo share/locale/tr/LC_MESSAGES/ggv.mo share/locale/uk/LC_MESSAGES/ggv.mo +@dirrm share/gnome/help/ggv/it +@dirrm share/gnome/help/ggv/C +@dirrm share/gnome/help/ggv |