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 /math | |
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 'math')
-rw-r--r-- | math/gnumeric/Makefile | 9 | ||||
-rw-r--r-- | math/gnumeric/files/patch-ba | 9 | ||||
-rw-r--r-- | math/gnumeric2/Makefile | 9 | ||||
-rw-r--r-- | math/gnumeric2/files/patch-ba | 9 |
4 files changed, 16 insertions, 20 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 6e0b47d731d4..b36c8f1245d7 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \ python:${PORTSDIR}/lang/python LIB_DEPENDS= gnomeprint.9:${PORTSDIR}/print/gnomeprint \ glade.4:${PORTSDIR}/devel/libglade \ - guile.6:${PORTSDIR}/lang/guile \ + guile.9:${PORTSDIR}/lang/guile \ gnomeole2.0:${PORTSDIR}/devel/libole2 \ gb.0:${PORTSDIR}/lang/gnomebasic @@ -41,4 +41,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} +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/math/gnumeric/files/patch-ba b/math/gnumeric/files/patch-ba index 51c58a7c4472..78468ee4e24e 100644 --- a/math/gnumeric/files/patch-ba +++ b/math/gnumeric/files/patch-ba @@ -9,12 +9,3 @@ confexec_DATA = gnumericConf.sh CLEANFILES = gnumericConf.sh -@@ -169,7 +169,7 @@ - appicon_DATA = gnome-gnumeric.png gnome-application-x-gnumeric.png gnome-application-x-xls.png - - --Applicationsdir = $(datadir)/gnome/apps/Applications -+Applicationsdir = $(datadir)/apps/Applications - Applications_DATA = gnumeric.desktop - - Mimedir = $(datadir)/mime-info diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile index 6e0b47d731d4..b36c8f1245d7 100644 --- a/math/gnumeric2/Makefile +++ b/math/gnumeric2/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \ python:${PORTSDIR}/lang/python LIB_DEPENDS= gnomeprint.9:${PORTSDIR}/print/gnomeprint \ glade.4:${PORTSDIR}/devel/libglade \ - guile.6:${PORTSDIR}/lang/guile \ + guile.9:${PORTSDIR}/lang/guile \ gnomeole2.0:${PORTSDIR}/devel/libole2 \ gb.0:${PORTSDIR}/lang/gnomebasic @@ -41,4 +41,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} +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/math/gnumeric2/files/patch-ba b/math/gnumeric2/files/patch-ba index 51c58a7c4472..78468ee4e24e 100644 --- a/math/gnumeric2/files/patch-ba +++ b/math/gnumeric2/files/patch-ba @@ -9,12 +9,3 @@ confexec_DATA = gnumericConf.sh CLEANFILES = gnumericConf.sh -@@ -169,7 +169,7 @@ - appicon_DATA = gnome-gnumeric.png gnome-application-x-gnumeric.png gnome-application-x-xls.png - - --Applicationsdir = $(datadir)/gnome/apps/Applications -+Applicationsdir = $(datadir)/apps/Applications - Applications_DATA = gnumeric.desktop - - Mimedir = $(datadir)/mime-info |