2007-12-10 19:34:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2007/12/11 00:34:30 simon Exp $
|
2001-05-05 19:24:50 -04:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT-main= ODBC 3.x driver manager
|
|
|
|
COMMENT-admin= ODBC 3.x driver manager admin application
|
2000-11-22 12:32:18 -05:00
|
|
|
|
2007-01-09 13:49:28 -05:00
|
|
|
V= 3.52.4
|
|
|
|
DISTNAME= libiodbc-${V}
|
2007-10-09 16:00:14 -04:00
|
|
|
PKGNAME= iodbc-${V}
|
2007-12-10 19:34:30 -05:00
|
|
|
PKGNAME-main= iodbc-${V}p2
|
2007-04-13 16:40:51 -04:00
|
|
|
PKGNAME-admin= iodbc-admin-${V}p0
|
2000-11-22 12:32:18 -05:00
|
|
|
CATEGORIES= databases
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += iodbcinst 3.15 # .3.15
|
|
|
|
SHARED_LIBS += iodbc 3.15 # .3.15
|
2007-01-09 13:49:28 -05:00
|
|
|
SHARED_LIBS += iodbcadm 3.15 # .3.15
|
|
|
|
SHARED_LIBS += drvproxy 3.15 # .3.15
|
2000-11-22 12:32:18 -05:00
|
|
|
|
2001-02-19 12:59:42 -05:00
|
|
|
HOMEPAGE= http://www.iodbc.org/
|
|
|
|
|
2004-02-01 02:09:47 -05:00
|
|
|
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
|
|
|
|
|
2000-11-22 12:32:18 -05:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
2004-07-07 19:22:38 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/iODBC/
|
|
|
|
|
2005-12-26 16:32:00 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2001-02-19 12:59:42 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2006-07-18 15:44:27 -04:00
|
|
|
CONFIGURE_ARGS= --with-iodbc-inidir="${SYSCONFDIR}/iodbc" \
|
|
|
|
--disable-libodbc
|
2000-11-22 12:32:18 -05:00
|
|
|
|
2007-01-09 13:49:28 -05:00
|
|
|
MULTI_PACKAGES= -main -admin
|
|
|
|
|
|
|
|
WANTLIB-main= c pthread
|
|
|
|
|
|
|
|
LIB_DEPENDS-admin= gtk,gdk::x11/gtk+ \
|
|
|
|
iodbc,iodbcinst::databases/iodbc,-main
|
2007-04-13 16:40:51 -04:00
|
|
|
WANTLIB-admin= X11 Xau Xdmcp Xext Xi c glib gmodule iconv intl m \
|
|
|
|
pthread
|
2007-01-09 13:49:28 -05:00
|
|
|
|
2000-11-22 12:32:18 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iodbc
|
2006-07-18 15:44:27 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/*.ini.sample \
|
|
|
|
${PREFIX}/share/examples/iodbc
|
2000-11-22 12:32:18 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|