|
Revision 6591, 2.1 kB
(checked in by mariuss, 11 months ago)
|
|
Added patch for 10.5 PPC
|
| Line | |
|---|
| 1 | # 2.9.1 |
|---|
| 2 | # 20110619 |
|---|
| 3 | SF="TRUE" |
|---|
| 4 | SFP="$1/$1/$2" |
|---|
| 5 | SFF="$1-$2.src.tgz" |
|---|
| 6 | HOMEURL="http://asymptote.sourceforge.net/" |
|---|
| 7 | PORTURL="$PORTBASE/X/Applications/Publishing/asymptote/" |
|---|
| 8 | NOTES="Asymptote for Mac OS X 10.4.x has been built on 64 bit machines (G5 and Mac Pro)." |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | BDEPS="gc" |
|---|
| 12 | DIFFDIRS="doc" |
|---|
| 13 | DOWNLOADRENAME="TRUE" |
|---|
| 14 | DOWNLOADRENAMESTR="$1-$2.src.tgz $1-$2$URLEXT" |
|---|
| 15 | MTEXVS=$(mreg.py MacTeX|awk '{print $2}') |
|---|
| 16 | PATH=$PATH:/usr/local/texlive/$MTEXVS/bin/universal-darwin/ |
|---|
| 17 | POSTMAKE="TRUE" |
|---|
| 18 | POSTMAKEFILES="asymptote.postmake ../bin/unhidelocale ../bin/unhidereadline" |
|---|
| 19 | PRECONF="TRUE" |
|---|
| 20 | PRECONFFILES="asymptote.preconf ../bin/hidelocale ../bin/hidereadline" |
|---|
| 21 | TEXIFILES="doc/asymptote.texi" |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | case "$OS" in |
|---|
| 25 | osx5) |
|---|
| 26 | CONFIGUREENV="CPPFLAGS=-I/usr/X11/include LDFLAGS=\"-L/usr/X11/lib -lGL -lGLU\"" |
|---|
| 27 | DEPS="atk bash bison bzip2 cairo db dbus dbus-glib docbook-xml docbook-xsl expat fftw fltk fontconfig freetype g95 gawk GConf gdbm gettext ghostscript ghostscript-fonts-std glib2 gnome-doc-utils gnome-mime-data gnome-vfs grep gsl gtk-doc gtk+2 gv ImageMagick intltool jasper jbigkit jpeg lcms libart libcroco libexif libgcrypt libgpg-error libgsf libiconv libIDL libpng librsvg libwmf libXft libxml2 libxslt MacTeX mpeg2vidcodec ncurses openexr openjade OpenSP ORBit2 pango perl pkg-config popt Python rarian readline render sed tcl texinfo tiff tk X11 Xaw3d XML-Parser xproto xrender zip" |
|---|
| 28 | if [ $ARCH == "ppc" ]; then |
|---|
| 29 | PATCH="TRUE" |
|---|
| 30 | PATCHFILES="prc-PRCdouble.h.patch.osx5.ppc" |
|---|
| 31 | fi |
|---|
| 32 | ;; |
|---|
| 33 | |
|---|
| 34 | osx6) |
|---|
| 35 | CONFIGUREENV="CPPFLAGS=-I/usr/X11/include LDFLAGS=\"-L/usr/X11/lib -lGL -lGLU\"" |
|---|
| 36 | DEPS="atk bash bison cairo db dbus dbus-glib docbook-xml docbook-xsl fftw fltk fontconfig freetype g95 gawk GConf gdbm gettext ghostscript ghostscript-fonts-std glib2 gnome-doc-utils gnome-mime-data gnome-vfs grep gsl gtk-doc gtk+2 gv ImageMagick intltool jasper jbigkit jpeg lcms libart libcroco libexif libgcrypt libgpg-error libgsf libiconv libIDL libpng librsvg libwmf libxml2 libxslt MacTeX mpeg2vidcodec ncurses openexr openjade OpenSP ORBit2 pango perl pkg-config popt rarian readline sed tcl texinfo tiff tk X11 Xaw3d XML-Parser" |
|---|
| 37 | PATCH="TRUE" |
|---|
| 38 | PATCHFILES="Makefile.patch" |
|---|
| 39 | ;; |
|---|
| 40 | |
|---|
| 41 | esac |
|---|