the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libxdo2-shlibs
Version: 2.20110530.1
Revision: 1
Distribution: 10.6, 10.7
Source: http://semicomplete.googlecode.com/files/xdotool-%v.tar.gz
Source-MD5: 62d0c2158bbaf882a1cf580421437b2f
BuildDepends: <<
pkgconfig,
x11-dev
<<
Depends: x11
PatchFile: %n.patch
PatchFile-MD5: d3494c91017ade8aa17c82c8e8eb1aea
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
CompileScript: <<
make PREFIX=%p
<<
InstallScript: <<
make install PREFIX=%p DESTDIR=%d
<<
DocFiles: CHANGELIST COPYRIGHT README
Shlibs: %p/lib/libxdo.2.dylib 0.0.0 %n (>= 2.20110530.1-1)
SplitOff: <<
Package: libxdo2-dev
Depends: %N (= %v-%r)
BuildDependsOnly: true
Files: <<
include
lib/libxdo.dylib
<<
DocFiles: CHANGELIST COPYRIGHT README
<<
SplitOff2: <<
Package: xdotool
Depends: <<
%N (>= %v-%r),
x11
<<
Files: <<
bin
share/man
<<
DocFiles: CHANGELIST COPYRIGHT README
<<
DescUsage: <<
See http://www.semicomplete.com/projects/xdotool/xdotool.xhtml
(or just 'man xdotool') for command-line tool details.
See http://www.semicomplete.com/files/xdotool/docs for library
interface.
XTEST is disabled by default in many x11 servers for security reasons.
See:
http://stackoverflow.com/questions/1264210/does-mac-x11-have-the-xtest-extension
<<
DescPackaging: <<
Major use is as command-line tool, so not hauling in doxygen
to generate the lib docs that are available already website.
Uses only x11 things, so just ignore fink flags instead of
trying to put fink's -I/-L in right order vs x11's.
<<
Description: Simulate input and x11 window activity
Homepage: http://www.semicomplete.com/projects/xdotool
License: OSI-Approved
Maintainer: Daniel Macks
diff -Nurd -x'*~' xdotool-2.20110530.1.orig/Makefile xdotool-2.20110530.1/Makefile
--- xdotool-2.20110530.1.orig/Makefile 2011-05-30 03:29:58.000000000 -0400
+++ xdotool-2.20110530.1/Makefile 2011-11-13 08:20:45.000000000 -0500
@@ -2,7 +2,7 @@
PREFIX?=/usr/local
INSTALLBIN?=$(PREFIX)/bin
INSTALLLIB?=$(PREFIX)/lib
-INSTALLMAN?=$(PREFIX)/man
+INSTALLMAN?=$(PREFIX)/share/man
INSTALLINCLUDE?=$(PREFIX)/include
DPREFIX=$(DESTDIR)$(PREFIX)
@@ -142,7 +142,7 @@
# This requirement will go away once more things are refactored into
# libxdo.
xdotool: xdotool.o $(CMDOBJS) libxdo.$(LIBSUFFIX)
- $(CC) -o $@ xdotool.o $(CMDOBJS) -L. -lxdo $(LDFLAGS) -lm $(LIBS)
+ $(CC) -o $@ xdotool.o $(CMDOBJS) libxdo.dylib $(LDFLAGS) -lm $(LIBS)
xdotool.1: xdotool.pod
pod2man -c "" -r "" xdotool.pod > $@