2006-01-10 18:47:50 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2006/01/10 18:47:51 espie Exp $
|
2001-08-11 15:31:43 +00:00
|
|
|
|
2005-03-30 03:39:00 +00:00
|
|
|
V= 0.63
|
2004-08-09 00:21:28 +00:00
|
|
|
DISTNAME= freetds-$V
|
2005-12-26 19:15:21 +00:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2001-08-11 15:31:43 +00:00
|
|
|
CATEGORIES= databases
|
2005-12-26 19:15:21 +00:00
|
|
|
SHARED_LIBS= ct 3.0 \
|
|
|
|
sybdb 5.0 \
|
|
|
|
tds 4.0 \
|
|
|
|
tdssrv 2.0
|
2001-08-11 15:31:43 +00:00
|
|
|
|
2002-09-12 00:12:48 +00:00
|
|
|
# GPL
|
2001-08-11 15:31:43 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-03-30 03:39:00 +00:00
|
|
|
|
|
|
|
WANTLIB= c ncurses readline
|
2001-08-11 15:31:43 +00:00
|
|
|
|
|
|
|
COMMENT= "project to document and implement the TDS protocol"
|
|
|
|
HOMEPAGE= http://www.freetds.org/
|
2005-03-30 03:39:00 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/
|
2001-08-11 15:31:43 +00:00
|
|
|
|
2005-03-30 03:39:00 +00:00
|
|
|
MAINTAINER= joshua stein <jcs@openbsd.org>
|
2001-08-11 15:31:43 +00:00
|
|
|
|
2005-06-21 15:50:50 +00:00
|
|
|
FLAVORS= msdblib
|
|
|
|
FLAVOR?=
|
|
|
|
|
2005-12-26 19:15:21 +00:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2001-08-11 15:31:43 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
2004-01-12 02:46:12 +00:00
|
|
|
--with-libiconv-prefix="${LOCALBASE}" \
|
2004-02-08 10:36:02 +00:00
|
|
|
--disable-threadsafe \
|
|
|
|
--disable-odbc
|
2005-06-21 15:50:50 +00:00
|
|
|
|
|
|
|
.if $(FLAVOR:L:Mmsdblib)
|
|
|
|
CONFIGURE_ARGS+=--enable-msdblib
|
|
|
|
.endif
|
|
|
|
|
2001-08-11 15:31:43 +00:00
|
|
|
MAKE_ENV= RM=rm
|
2005-02-19 22:25:48 +00:00
|
|
|
MODULES= converters/libiconv
|
2004-08-09 00:21:28 +00:00
|
|
|
DOC= share/doc/freetds-$V
|
|
|
|
SUBST_VARS= DOC V
|
2001-12-27 02:56:38 +00:00
|
|
|
|
2001-08-11 15:31:43 +00:00
|
|
|
post-install:
|
2001-10-25 00:12:12 +00:00
|
|
|
@sed -e "s:@sysconfdir@:${SYSCONFDIR}:g" ${WRKSRC}/freetds.conf > \
|
|
|
|
${WRKSRC}/freetds.conf.new
|
2001-08-11 15:31:43 +00:00
|
|
|
@mkdir ${PREFIX}/share/examples/freetds
|
2001-10-25 00:12:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/freetds.conf.new \
|
2001-08-11 15:31:43 +00:00
|
|
|
${PREFIX}/share/examples/freetds/freetds.conf-sample
|
2004-01-12 02:46:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/pool/pool.conf \
|
|
|
|
${PREFIX}/share/examples/freetds/pool.conf-sample
|
2001-08-11 15:31:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|