Package: applex11tools Version: 1.0 Revision: 2 Depends: quartz-wm (>= %v-%r), open-x11 (>= %v-%r), x11-app (>= %v-%r) Type: nosource CompileScript: << #!/bin/sh -ev cat </dev/null | grep -v Receipts | while read PACKAGE; do if [ -f "$PACKAGE/Contents/Archive.pax.gz" ]; then PKG_PATH="$PACKAGE" break fi done fi # if it's still not found, bail if [ -z "$PKG_PATH" ]; then echo "unable to locate a suitable X11User.pkg, bailing" exit 1 fi echo "found $PKG_PATH" pushd "%d" gzip -dc "$PKG_PATH/Contents/Archive.pax.gz" | pax -r '*quartz-wm*' '*X11.app*' '*open-x11*' '*Xquartz*' popd if ! test -f "%d/usr/bin/open-x11"; then cat <= 4.4.0-1) | system-xfree86 (>= 4.4-1) | xorg (>= 6.7.99-1) Files: bin/quartz-wm share/man/man1/quartz-wm* share/doc/%n << SplitOff2: << Package: open-x11 Description: Apple's script for opening an X11 app from a terminal Depends: xfree86 (>= 4.4.0-1) | system-xfree86 (>= 4.4-1) | xorg (>= 6.7.99-1) Files: bin/open-x11 << SplitOff3: << Package: x11-app Description: Apple's X11.app X server Depends: xfree86 (>= 4.4.0-1) | system-xfree86 (>= 4.4-1) | xorg (>= 6.7.99-1) Files: Applications /usr/X11R6/bin/Xquartz /private/etc/X11/xserver/Xquartz* share/man/man1/Xquartz* share/doc/%n PostInstScript: << echo "X11.app was installed in %p/Applications" << << License: Restrictive Homepage: http://www.apple.com/macosx/x11/ Maintainer: Benjamin Reed Description: Install various tools from Apple's X11 DescDetail: << This package will let you install Apple's proprietary X11 tools in conjunction with a reasonably modern XFree86 or X.org X11 distribution. To install it, you must have X11User.pkg somewhere in /Volumes or /Users. <<