1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/databases/mdbtools/Makefile
Rainer Hurling 262409455f databases/mdbtools: Re-entry of the original author of the port
'Created by:' was accidentally deleted with v0.9.1 (svn r561652).
Thanks to @danfe for pointing this out.
2021-08-05 09:25:15 +02:00

50 lines
1.2 KiB
Makefile

# Created by: Anders Nordby <anders@fix.no>
PORTNAME= mdbtools
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.4
CATEGORIES= databases
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Utilities and libraries to export data from MS Access databases (.mdb)
LICENSE= GPLv2
BUILD_DEPENDS= bash-completion>=0:shells/bash-completion \
flex:textproc/flex \
gawk:lang/gawk
LIB_DEPENDS= libodbcinst.so:databases/unixODBC
RUN_DEPENDS= bash-completion>=0:shells/bash-completion
USES= autoreconf bison gettext gnome iconv libtool pathfix \
pkgconfig readline
USE_GITHUB= yes
GH_ACCOUNT= mdbtools
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-unixodbc=${LOCALBASE}
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${WRKSRC}/include
OPTIONS_DEFINE= DOCS MANPAGES LIBMSWSTR
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
LIBMSWSTR_DESC= Read and parse JET 4 mdb file indices
LIBMSWSTR_LIB_DEPENDS= libmswstr.so:databases/libmswstr
LIBMSWSTR_CONFIGURE_ENV_OFF= ac_cv_lib_mswstr_DBLCMapStringW=no
MANPAGES_CONFIGURE_OFF= --disable-man
DOCS= AUTHORS HACKING.md NEWS README.md TODO.md
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>