aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mdbtools/Makefile
blob: c7e5a58ddeed53d840f4988a9f9284d6f712af0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$

PORTNAME=   mdbtools
PORTVERSION=    0.7.1
PORTREVISION=   7
CATEGORIES= databases

MAINTAINER= rhurlin@gwdg.de
COMMENT=    Utilities and libraries to export data from MS Access databases (.mdb)

LICENSE=    GPLv2

# To build man-pages
BUILD_DEPENDS=  gawk:lang/gawk \
        txt2man:textproc/txt2man
LIB_DEPENDS=    libodbc.so:databases/unixODBC

OPTIONS_DEFINE= GNOME DOCS
OPTIONS_SUB=    yes

USES=       autoreconf bison gettext-runtime iconv libtool pathfix pkgconfig readline
USE_GITHUB= yes
GH_ACCOUNT= brianb
USE_LDCONFIG=   yes
USE_GNOME=  glib20
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
        --with-unixodbc=${LOCALBASE}
INSTALL_TARGET= install-strip

DOCS=       AUTHORS ChangeLog HACKING NEWS README TODO

GNOME_CONFIGURE_ENABLE= gmdb2
GNOME_USE=  GNOME=gnomeprefix GNOME=libgnomeui GNOME=gconf2 GNOME=intltool

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,}  ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>