Commits

David B. Evans authored 0fe858a2b91
libgsf: update to version 1.14.40, no longer uses gnome-common.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@151774 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

gnome/libgsf/files/autogen.sh

Modified
1 1 #!/bin/sh
2 2 # Run this to generate all the initial makefiles, etc.
3 3
4 -PKG_NAME="libgsf"
4 +PKG_NAME="Libgsf"
5 5
6 -REQUIRED_AUTOMAKE_VERSION=1.8
7 -# We require Automake 1.7.1, which requires Autoconf 2.54.
8 -REQUIRED_AUTOCONF_VERSION=2.54
6 +test -n "$srcdir" || srcdir=$(dirname "$0")
7 +test -n "$srcdir" || srcdir=.
9 8
10 -USE_GNOME2_MACROS=1
11 -
12 -srcdir=`dirname $0`
13 -test -z "$srcdir" && srcdir=.
14 -
15 -abs_srcdir=`cd $srcdir && pwd`
16 -ACLOCAL_FLAGS="-I $abs_srcdir/m4 $ACLOCAL_FLAGS"
9 +olddir=$(pwd)
17 10
18 11 (test -f $srcdir/configure.ac \
19 12 && test -d $srcdir/gsf \
20 13 && test -f $srcdir/gsf/gsf.h) || {
21 14 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
22 15 echo " top-level libgsf directory"
23 16 exit 1
24 17 }
25 18
26 -ifs_save="$IFS"; IFS=":"
27 -for dir in $PATH ; do
28 - IFS="$ifs_save"
29 - test -z "$dir" && dir=.
30 - if test -f "$dir/gnome-autogen.sh" ; then
31 - gnome_autogen="$dir/gnome-autogen.sh"
32 - gnome_datadir=`echo $dir | sed -e 's,/bin$,/share,'`
33 - break
34 - fi
35 -done
36 -
37 -if test -z "$gnome_autogen" ; then
38 - echo "You need to install the gnome-common module and make"
39 - echo "sure the gnome-autogen.sh script is in your \$PATH."
40 - exit 1
19 +cd $srcdir
20 +aclocal --install || exit 1
21 +glib-gettextize --force --copy || exit 1
22 +gtkdocize --copy || exit 1
23 +intltoolize --force --copy --automake || exit 1
24 +autoreconf --verbose --force --install || exit 1
25 +cd $olddir
26 +
27 +if [ "$NOCONFIGURE" = "" ]; then
28 + $srcdir/configure "$@" || exit 1
29 +
30 + if [ "$1" = "--help" ]; then exit 0 else
31 + echo "Now type 'make' to compile $PKG_NAME" || exit 1
32 + fi
33 +else
34 + echo "Skipping configure process."
41 35 fi
42 -
43 -GNOME_DATADIR="$gnome_datadir"
44 -. $gnome_autogen

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut