openbsd-ports/databases/iodbc/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

68 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2010/11/15 00:22:51 espie Exp $
COMMENT-main= ODBC 3.x driver manager
COMMENT-admin= ODBC 3.x driver manager admin application
V= 3.52.6
REVISION-main= 0
REVISION-admin= 2
DISTNAME= libiodbc-$V
PKGNAME= iodbc-$V
PKGNAME-main= iodbc-$V
PKGNAME-admin= iodbc-admin-$V
CATEGORIES= databases
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
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 = # this space intentionally left blank
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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iodbc
${INSTALL_DATA} ${WRKSRC}/etc/*.ini.sample \
${PREFIX}/share/examples/iodbc
.include <bsd.port.mk>