2003-01-28 23:03:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2003/01/28 22:03:10 jlam Exp $
|
2000-05-16 03:03:47 +02:00
|
|
|
|
2002-10-26 20:45:28 +02:00
|
|
|
DISTNAME= freetds-0.60
|
2000-05-16 03:03:47 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
|
|
HOMEPAGE= http://www.freetds.org/
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= LGPL'd implementation of Sybase's db-lib/ct-lib/ODBC libs
|
2000-05-16 03:03:47 +02:00
|
|
|
|
2002-09-20 02:08:34 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2001-06-21 01:41:03 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2002-06-23 05:38:21 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
GNU_CONFIGURE_PREFIX= ${PREFIX}/freetds
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2002-09-20 02:08:34 +02:00
|
|
|
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
|
2001-06-21 01:41:03 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tdsver=7.0
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2002-06-23 05:38:21 +02:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
2000-05-16 03:03:47 +02:00
|
|
|
|
2002-06-23 05:38:21 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/freetds
|
|
|
|
CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
|
2002-10-26 20:45:28 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf
|
2000-05-16 03:03:47 +02:00
|
|
|
|
2002-06-23 05:38:21 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR}
|
2002-10-26 20:45:28 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/locales.conf ${EGDIR}
|
2002-06-23 05:38:21 +02:00
|
|
|
|
2002-09-20 02:08:34 +02:00
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
2000-05-16 03:03:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|