aboutsummaryrefslogtreecommitdiffstats
path: root/palm/gnome-pilot-conduits
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-08-04 09:34:38 +0800
committerade <ade@FreeBSD.org>2000-08-04 09:34:38 +0800
commit3e67804d709e34d749caa36729ea54b374435d71 (patch)
treec94a783d14521476b590ec94cfa766b5f0c161fa /palm/gnome-pilot-conduits
parent78d864a22bfe1d46d818657e84f7e312bc38f4ec (diff)
downloadfreebsd-ports-gnome-3e67804d709e34d749caa36729ea54b374435d71.tar.gz
freebsd-ports-gnome-3e67804d709e34d749caa36729ea54b374435d71.tar.zst
freebsd-ports-gnome-3e67804d709e34d749caa36729ea54b374435d71.zip
Extensive patchfile cleanups using sobomax's wonderful
post-extract rule
Diffstat (limited to 'palm/gnome-pilot-conduits')
-rw-r--r--palm/gnome-pilot-conduits/Makefile7
-rw-r--r--palm/gnome-pilot-conduits/files/patch-ab9
2 files changed, 7 insertions, 9 deletions
diff --git a/palm/gnome-pilot-conduits/Makefile b/palm/gnome-pilot-conduits/Makefile
index f83c7c1dbf97..9511b3a735ff 100644
--- a/palm/gnome-pilot-conduits/Makefile
+++ b/palm/gnome-pilot-conduits/Makefile
@@ -31,4 +31,11 @@ CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" GLIB_CONFIG="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/pilot/include" \
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/pilot/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/palm/gnome-pilot-conduits/files/patch-ab b/palm/gnome-pilot-conduits/files/patch-ab
index ad0c57d652ee..485d8e8571fb 100644
--- a/palm/gnome-pilot-conduits/files/patch-ab
+++ b/palm/gnome-pilot-conduits/files/patch-ab
@@ -1,14 +1,5 @@
--- mal-conduit/src/Makefile.in.orig Wed May 10 01:26:11 2000
+++ mal-conduit/src/Makefile.in Tue May 16 17:07:16 2000
-@@ -147,7 +147,7 @@
- ccenterConduitsdir = $(ccenterPalmPilotdir)/Conduits
- ccenterConduits_DATA = mal-conduit-control-applet.desktop
-
--panelConduitsdir = $(datadir)/gnome/apps/Settings/Peripherals/Conduits
-+panelConduitsdir = $(datadir)/apps/Settings/Peripherals/Conduits
- panelConduits_DATA = $(ccenterConduits_DATA)
-
- Conduitsdir = $(datadir)/gnome-pilot/conduits/
@@ -168,7 +168,7 @@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@