69 lines
1.7 KiB
Makefile
69 lines
1.7 KiB
Makefile
# $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
|
|
|
|
V= 3.52.7
|
|
|
|
DISTNAME= libiodbc-$V
|
|
PKGNAME= iodbc-$V
|
|
PKGNAME-main= iodbc-$V
|
|
PKGNAME-admin= iodbc-admin-$V
|
|
REVISION-admin = 0
|
|
|
|
CATEGORIES= databases
|
|
|
|
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
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
PERMIT_PACKAGE_FTP= yes
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/iODBC/
|
|
|
|
MODULES= devel/gettext
|
|
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-iodbc-inidir="${SYSCONFDIR}/iodbc" \
|
|
--disable-libodbc
|
|
|
|
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/
|
|
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
|
|
|
|
.include <bsd.port.mk>
|