the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: wsmake
Version: 0.6.5pre1
Revision: 1026
Description: Website pre-processor and build tool
DescDetail: <<
Wsmake is a website make tool for website development and maintenance.
It features tag substitution, page ordering, and 'make'-like dependency
checking.
<<
DescPackaging: <<
Tarball has lots of CVS directories and part of the InstallScript is a
'cp -r', so delete the CVS dirs so they don't wind up in the .deb.
<<
DescPort: <<
#config.h.in goesn't have HAVE_DECL_GETOPT. The configure test would set it
#to #define in config.h, so instead we pass -DHAVE_DECL_GETOPT=1 manually
#(see %p/include/gnugetopt/getopt.h for details).
I'm not using --with-docbook-tools since there's already some
documentation included without dragging along all those dependencies.
I can't find the source for libtui, on which --whith-iwsmake depends.
Update libdba/dba_db.c open() to db47+ API.
Modern compilers are too pedantic for their own good...cause warnings
or errors from dependent .h
<<
DescUsage: Read the manual examples in share/doc/wsmake.
Homepage: http://www.wsmake.org/
#Homepage: http://www.nongnu.org/wsmake/
License: GPL
Maintainer: Daniel Macks
Depends: db53-aes-shlibs
BuildDepends: db53-aes
Source: http://savannah.nongnu.org/download/%n/stable.pkg/%v/%n-%v.tar.gz
Source-MD5: be27f7e4e7f709abde4b21ddaacb3311
SourceDirectory: %n6
GCC: 4.0
SetCPPFLAGS: -I%p/include/db4
ConfigureParams: --mandir='${prefix}/share/man' --enable-shared --with-berkeley-db
PatchFile: %n.patch
PatchFile-MD5: 4c814641d867ad8ce4fb6336b40b3021
PatchScript: <<
%{default_script}
find . -type d -name CVS -print0 | xargs -0 rm -rf
<<
CompileScript: <<
./configure %c
make
<<
InstallScript: <<
make install prefix=%i
install -d -m0755 %i/share/doc/%n
cp doc/manual.txt %i/share/doc/%n
cp -r doc/examples %i/share/doc/%n
<<
DocFiles: AUTHORS Artistic COPYING ChangeLog* DEVELOPERS INSTALL LICENSE NEWS NOTES README TODO
diff -Nurd -x'*~' wsmake6.orig/configure wsmake6/configure
--- wsmake6.orig/configure 2003-02-14 11:36:07.000000000 -0500
+++ wsmake6/configure 2012-02-05 14:54:54.000000000 -0500
@@ -1886,8 +1886,8 @@
enable_shared=no
fi;
-CFLAGS="-O2 -W -Wall --pedantic -g $CFLAGS"
-CXXFLAGS="-O2 -W -Wall --pedantic -g $CXXFLAGS"
+CFLAGS="-O2 -W -Wall -g $CFLAGS"
+CXXFLAGS="-O2 -W -Wall -g $CXXFLAGS"
# CFLAGS="-O2 $CFLAGS"
LIBS="$LIBS"
diff -Nurd -x'*~' wsmake6.orig/libdba/dba_db.c wsmake6/libdba/dba_db.c
--- wsmake6.orig/libdba/dba_db.c 2001-09-03 22:41:40.000000000 -0400
+++ wsmake6/libdba/dba_db.c 2010-03-17 08:06:16.000000000 -0400
@@ -21,6 +21,7 @@
***********************************************************************/
#include
#include
+#include
#include "dba_db.h"
@@ -46,6 +47,7 @@
error = db_create(&tdb, NULL, 0);
error = tdb->open(tdb,
+ NULL, /* added txnid, new parameter in newer db */
dba->filename,
NULL,
DB_HASH,