2010-11-14 19:22:45 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2010/11/15 00:22:51 espie Exp $
|
2001-05-05 19:24:50 -04:00
|
|
|
|
2009-07-17 06:45:05 -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
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
V= 3.52.6
|
2010-08-25 16:45:52 -04:00
|
|
|
REVISION-main= 0
|
2010-10-23 09:13:06 -04:00
|
|
|
REVISION-admin= 2
|
2000-11-22 12:32:18 -05:00
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
DISTNAME= libiodbc-$V
|
|
|
|
PKGNAME= iodbc-$V
|
2010-08-25 16:45:52 -04:00
|
|
|
PKGNAME-main= iodbc-$V
|
|
|
|
PKGNAME-admin= iodbc-admin-$V
|
2001-02-19 12:59:42 -05:00
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
CATEGORIES= databases
|
2004-02-01 02:09:47 -05:00
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
SHARED_LIBS += iodbcinst 3.15
|
|
|
|
SHARED_LIBS += iodbc 3.15
|
|
|
|
SHARED_LIBS += iodbcadm 3.15
|
|
|
|
SHARED_LIBS += drvproxy 3.15
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.iodbc.org/
|
|
|
|
|
|
|
|
MAINTAINER= Andrew Dalgleish <openbsd@ajd.net.au>
|
|
|
|
|
|
|
|
# Dual licensed: BSD or LGPLv2
|
2000-11-22 12:32:18 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/iODBC/
|
2004-07-07 19:22:38 -04:00
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
MODULES= devel/gettext
|
2005-12-26 16:32:00 -05:00
|
|
|
|
2009-07-17 06:45:05 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 13:06:05 -04:00
|
|
|
USE_GROFF = Yes
|
2009-07-17 06:45:05 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
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
|
|
|
|
|
2010-11-06 12:07:00 -04:00
|
|
|
WANTLIB-main = c pthread
|
2009-07-17 06:45:05 -04:00
|
|
|
|
2010-11-06 12:07:00 -04:00
|
|
|
LIB_DEPENDS-admin = ${MODGETTEXT_LIB_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
databases/iodbc,-main \
|
|
|
|
x11/gtk+2
|
2009-07-17 06:45:05 -04:00
|
|
|
|
2010-11-06 12:07:00 -04:00
|
|
|
LIB_DEPENDS-main = # this space intentionally left blank
|
2007-01-09 13:49:28 -05:00
|
|
|
|
2010-11-06 12:07:00 -04:00
|
|
|
WANTLIB-admin = ${MODGETTEXT_WANTLIB} c pthread \
|
2010-10-23 09:13:06 -04:00
|
|
|
GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm \
|
|
|
|
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
|
|
gtk-x11-2.0 iodbc iodbcinst m pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 pcre pixman-1 png pthread-stubs xcb xcb-render \
|
|
|
|
xcb-shm z
|
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>
|