the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: source-highlight
Version: 3.1.4
Revision: 3
Type: vers (3)
GCC: 4.0
Maintainer: Daniel Johnson
Source: mirror:gnu:src-highlite/%n-%v.tar.gz
Source-MD5: becf8292b84ece6b532b0f0c92b530ee
BuildDepends: boost1.41.cmake
Depends: exuberant-ctags, boost1.41.cmake-shlibs, lib%{N}%type_pkg[vers]-shlibs (= %v-%r)
PatchScript: <<
perl -pi -e 's/\@BOOST.*\@//g' %n.pc.in
perl -pi -e 's|datadir/source-highlight|datadir/source-highlight%type_pkg[vers]|'g configure
<<
SetCFLAGS: -Os
SetCXXFLAGS: -Os
ConfigureParams: --disable-static --disable-dependency-tracking --with-boost=%p --with-boost-regex=boost_regex-mt
InstallScript: <<
make install DESTDIR=%d
#No need for dependency_libs in .la files if not building static libs
perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/*.la
<<
InfoDocs: %n.info %n-lib.info
DocFiles: AUTHORS COPYING CREDITS NEWS README THANKS TODO.txt doc/*
Description: Programs to highlight source by syntax
DescPort: <<
Dep on exuberant-ctags : /usr/bin/ctags would lead to error even in the build itself.
<<
DescPackaging: <<
Fix texinfo dir header for fink's dpkg install-info parser.
<<
DescDetail: <<
Given a source file, produces a document with syntax highlighting.
Inputs include Java, C/C++, Prolog, Perl, Php3, Python, Flex, and
ChangeLog. Can output to HTML and XHTML.
<<
Homepage: http://www.gnu.org/software/src-highlite/
License: GPL3
# Disable tests for now since clang gives a build error.
#InfoTest: <<
# TestDepends: sed
# TestScript: make check || exit 2
#<<
SplitOff: <<
Package: lib%{N}%type_pkg[vers]
Depends: lib%{N}%type_pkg[vers]-shlibs (= %v-%r)
BuildDependsOnly: true
Conflicts: lib%{N}, lib%{N}3, lib%{N}4
Replaces: lib%{N}, lib%{N}3, lib%{N}4
Files: include lib/pkgconfig lib/lib%N.dylib lib/lib%N.la share/aclocal
DocFiles: AUTHORS COPYING CREDITS NEWS README THANKS
<<
SplitOff2: <<
Package: lib%{N}%type_pkg[vers]-shlibs
Files: lib share/source-highlight%type_pkg[vers]
Shlibs: %p/lib/lib%N.%type_pkg[vers].dylib 4.0.0 %n (>= 3.1.1-1)
DocFiles: AUTHORS COPYING CREDITS NEWS README THANKS
<<
<<