openbsd-ports/databases/iodbc/Makefile

69 lines
1.7 KiB
Makefile
Raw Normal View History

2011-09-16 04:48:01 -04:00
# $OpenBSD: Makefile,v 1.28 2011/09/16 08:48:02 espie Exp $
COMMENT-main= ODBC 3.x driver manager
COMMENT-admin= ODBC 3.x driver manager admin application
2000-11-22 12:32:18 -05:00
V= 3.52.7
2000-11-22 12:32:18 -05:00
DISTNAME= libiodbc-$V
PKGNAME= iodbc-$V
PKGNAME-main= iodbc-$V
PKGNAME-admin= iodbc-admin-$V
2011-09-16 04:48:01 -04:00
REVISION-admin = 0
CATEGORIES= databases
2004-02-01 02:09:47 -05:00
SHARED_LIBS += iodbcinst 3.15
SHARED_LIBS += iodbc 3.16
SHARED_LIBS += iodbcadm 3.15
SHARED_LIBS += drvproxy 3.15
HOMEPAGE= http://www.iodbc.org/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# 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
MASTER_SITES= ${HOMEPAGE}downloads/iODBC/
MODULES= devel/gettext
2005-12-26 16:32:00 -05:00
USE_LIBTOOL= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-iodbc-inidir="${SYSCONFDIR}/iodbc" \
--disable-libodbc
2000-11-22 12:32:18 -05:00
MULTI_PACKAGES= -main -admin
WANTLIB-main= c pthread
LIB_DEPENDS-admin= ${MODGETTEXT_LIB_DEPENDS} \
databases/iodbc,-main \
x11/gtk+2
LIB_DEPENDS-main= # empty
WANTLIB-admin= ${MODGETTEXT_WANTLIB} c pthread \
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
EXDIR=${PREFIX}/share/examples/iodbc/
2000-11-22 12:32:18 -05:00
post-install:
${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>