diff options
Diffstat (limited to 'databases/fmptools')
-rw-r--r-- | databases/fmptools/Makefile | 35 | ||||
-rw-r--r-- | databases/fmptools/distinfo | 3 | ||||
-rw-r--r-- | databases/fmptools/files/patch-src_fmp.c | 11 | ||||
-rw-r--r-- | databases/fmptools/pkg-descr | 3 | ||||
-rw-r--r-- | databases/fmptools/pkg-plist | 9 |
5 files changed, 61 insertions, 0 deletions
diff --git a/databases/fmptools/Makefile b/databases/fmptools/Makefile new file mode 100644 index 000000000000..1496e5a7da5d --- /dev/null +++ b/databases/fmptools/Makefile @@ -0,0 +1,35 @@ +PORTNAME= fmptools +DISTVERSION= 0.2.2 +CATEGORIES= databases +MASTER_SITES= https://github.com/evanmiller/${PORTNAME}/releases/download/v${DISTVERSION}/ + +MAINTAINER= walker.thompson@urz.uni-heidelberg.de +COMMENT= Convert FileMaker Pro databases to several convenient formats +WWW= https://github.com/evanmiller/fmptools + +LICENSE= MIT + +USES= iconv libtool localbase:ldflags +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= JSON SQLITE XLSX +OPTIONS_DEFAULT=JSON SQLITE XLSX +OPTIONS_SUB= yes + +XLSX_DESC= Excel export support via libxlsxwriter + +JSON_LIB_DEPENDS= libyajl.so:devel/yajl +JSON_CONFIGURE_ENV_OFF= ac_cv_lib_yajl_yajl_gen_alloc=no + +SQLITE_USES= sqlite:3 +SQLITE_CONFIGURE_ENV_OFF= ac_cv_lib_sqlite3_sqlite3_open_v2=no + +XLSX_LIB_DEPENDS= libxlsxwriter.so:math/libxlsxwriter +XLSX_CONFIGURE_ENV_OFF= ac_cv_lib_xlsxwriter_workbook_new=no + +post-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/.libs/fmpdump ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/databases/fmptools/distinfo b/databases/fmptools/distinfo new file mode 100644 index 000000000000..783916abdd74 --- /dev/null +++ b/databases/fmptools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753108499 +SHA256 (fmptools-0.2.2.tar.gz) = 4db60b95cdce3567c7eb20cabcb1838854964fbb651cb8aa7db18a8897aa3995 +SIZE (fmptools-0.2.2.tar.gz) = 417561 diff --git a/databases/fmptools/files/patch-src_fmp.c b/databases/fmptools/files/patch-src_fmp.c new file mode 100644 index 000000000000..785f3cbb6bd1 --- /dev/null +++ b/databases/fmptools/files/patch-src_fmp.c @@ -0,0 +1,11 @@ +--- src/fmp.c.orig 2025-05-31 21:44:22 UTC ++++ src/fmp.c +@@ -20,8 +20,6 @@ + * THE SOFTWARE. + */ + +-#define _XOPEN_SOURCE 600 /* strptime */ +-#define _POSIX_C_SOURCE 200809L /* fmemopen */ + #include <time.h> + + #include <fcntl.h> diff --git a/databases/fmptools/pkg-descr b/databases/fmptools/pkg-descr new file mode 100644 index 000000000000..9bdd79f6199e --- /dev/null +++ b/databases/fmptools/pkg-descr @@ -0,0 +1,3 @@ +Some tools for reading FileMaker Pro files +(fp3, fp5, fp7, and fmp12). Options to export +to multiple formats: xlsx, json, sqlite. diff --git a/databases/fmptools/pkg-plist b/databases/fmptools/pkg-plist new file mode 100644 index 000000000000..0c371c97ce68 --- /dev/null +++ b/databases/fmptools/pkg-plist @@ -0,0 +1,9 @@ +%%JSON%%bin/fmp2json +%%SQLITE%%bin/fmp2sqlite +%%XLSX%%bin/fmp2excel +bin/fmpdump +include/fmp.h +lib/libfmptools.a +lib/libfmptools.so +lib/libfmptools.so.0 +lib/libfmptools.so.0.0.0 |