aboutsummaryrefslogtreecommitdiff
path: root/textproc/gnomespell-devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-10 08:52:11 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-10 08:52:11 +0000
commite2839c979ae96540f85f9a61aaae3954452268c3 (patch)
tree1b01c679ab6d9befe1c9b38a58eb7d578a603b4d /textproc/gnomespell-devel
parentf2a0d7370bf7b7a367c37c0eb598160fd0a4d5ce (diff)
downloadports-e2839c979ae96540f85f9a61aaae3954452268c3.tar.gz
ports-e2839c979ae96540f85f9a61aaae3954452268c3.zip
Notes
Diffstat (limited to 'textproc/gnomespell-devel')
-rw-r--r--textproc/gnomespell-devel/Makefile10
-rw-r--r--textproc/gnomespell-devel/files/patch-configure37
2 files changed, 41 insertions, 6 deletions
diff --git a/textproc/gnomespell-devel/Makefile b/textproc/gnomespell-devel/Makefile
index 1b06467397a7..9d3bb125ae8f 100644
--- a/textproc/gnomespell-devel/Makefile
+++ b/textproc/gnomespell-devel/Makefile
@@ -20,17 +20,15 @@ LIB_DEPENDS= aspell.11:${PORTSDIR}/textproc/aspell
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack libglade gal
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -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/textproc/gnomespell-devel/files/patch-configure b/textproc/gnomespell-devel/files/patch-configure
new file mode 100644
index 000000000000..e1b5eff37a3c
--- /dev/null
+++ b/textproc/gnomespell-devel/files/patch-configure
@@ -0,0 +1,37 @@
+
+$FreeBSD$
+
+--- configure 2002/07/10 08:46:51 1.1
++++ configure 2002/07/10 08:47:01
+@@ -1196,31 +1196,6 @@
+ fi
+ fi
+
+- if test -n "capplet"; then
+- n="capplet"
+- for i in $n; do
+- echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6
+-echo "configure:1204: checking extra library \"$i\"" >&5
+- case $i in
+- applets)
+-
+- GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
+- echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;;
+- docklets)
+-
+- GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
+- echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;;
+- capplet)
+-
+- GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
+- echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;;
+- *)
+- echo "$ac_t""unknown library" 1>&6
+- esac
+- EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
+- GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
+- done
+- fi
+
+
+