Baptiste Daroussin a4e1b00f71 Make GNOME an option instead of autodetermined
While here:
- Use options helpers
- Fix plist with GNOME
2015-09-13 13:16:42 +00:00

45 lines
1.1 KiB
Makefile

# 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>