2012-09-29 16:07:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2012/09/29 20:07:08 brad 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
|
|
|
|
2011-06-15 21:29:57 -04:00
|
|
|
V= 3.52.7
|
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
|
2012-09-29 16:07:08 -04:00
|
|
|
REVISION-main= 1
|
2012-08-19 17:12:20 -04:00
|
|
|
REVISION-admin = 2
|
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
|
2011-06-15 21:29:57 -04:00
|
|
|
SHARED_LIBS += iodbc 3.16
|
2009-07-17 06:45:05 -04:00
|
|
|
SHARED_LIBS += iodbcadm 3.15
|
|
|
|
SHARED_LIBS += drvproxy 3.15
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.iodbc.org/
|
|
|
|
|
2011-06-15 21:29:57 -04:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
2009-07-17 06:45:05 -04:00
|
|
|
|
|
|
|
# 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
|
2011-06-15 21:29:57 -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
|
|
|
|
|
2011-06-15 21:29:57 -04:00
|
|
|
WANTLIB-main= c pthread
|
2009-07-17 06:45:05 -04:00
|
|
|
|
2011-06-15 21:29:57 -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
|
|
|
|
2011-06-15 21:29:57 -04:00
|
|
|
LIB_DEPENDS-main= # empty
|
2007-01-09 13:49:28 -05:00
|
|
|
|
2011-06-15 21:29:57 -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 \
|
2011-11-04 04:16:23 -04:00
|
|
|
xcb-shm z ffi stdc++
|
2007-01-09 13:49:28 -05:00
|
|
|
|
2011-06-15 21:29:57 -04:00
|
|
|
EXDIR=${PREFIX}/share/examples/iodbc/
|
2000-11-22 12:32:18 -05:00
|
|
|
post-install:
|
2011-06-15 21:29:57 -04:00
|
|
|
${INSTALL_DATA_DIR} ${EXDIR}
|
|
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c \
|
|
|
|
${WRKSRC}/etc/odbc.ini.sample ${EXDIR}/odbc.ini.sample \
|
|
|
|
${WRKSRC}/etc/odbcinst.ini.sample ${EXDIR}/odbcinst.ini.sample
|
2000-11-22 12:32:18 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|