b4f1862849
pkglint -Wall -F --only aligned -r No manual corrections.
32 lines
941 B
Makefile
32 lines
941 B
Makefile
# $NetBSD: Makefile,v 1.25 2019/11/02 15:38:01 rillig Exp $
|
|
|
|
DISTNAME= libiodbc-3.52.9
|
|
PKGNAME= ${DISTNAME:S/^lib//}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iodbc/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/
|
|
COMMENT= ODBC 3.x driver manager
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-gui
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/iodbc
|
|
GNU_CONFIGURE_LIBSUBDIR= iodbc
|
|
CONFIGURE_ARGS+= --pkgconfigdir=${PREFIX}/lib/pkgconfig
|
|
CONFIGURE_ARGS+= --with-iodbc-inidir=${PKG_SYSCONFDIR}
|
|
|
|
DL_AUTO_VARS= yes
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
CONF_FILES= ${EGDIR}/odbc.ini ${PKG_SYSCONFDIR}/odbc.ini
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/etc/odbc.ini.sample \
|
|
${DESTDIR}${EGDIR}/odbc.ini
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|