summaryrefslogtreecommitdiff
path: root/databases/mdbtools/Makefile
blob: 3dca9700b28d57f0f1c008d13b309190a4a06040 (plain)
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
42
43
44
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$

PORTNAME=	mdbtools
PORTVERSION=	0.7.1
PORTREVISION=	5
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:${PORTSDIR}/lang/gawk \
		txt2man:${PORTSDIR}/textproc/txt2man
LIB_DEPENDS=	libodbc.so:${PORTSDIR}/databases/unixODBC

OPTIONS_DEFINE=	GNOME DOCS
OPTIONS_SUB=	yes

USES=		autoreconf bison iconv libtool pathfix pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	brianb
PATHFIX_MAKEFILEIN=	Makefile.am
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

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

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>