7f6b483fc3
* Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround.
31 lines
831 B
Makefile
31 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.8 2002/06/23 03:38:21 jlam Exp $
|
|
|
|
DISTNAME= freetds-0.53
|
|
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/
|
|
COMMENT= LGPL'd implementation of Sybase's db-lib/ct-lib/ODBC libs
|
|
|
|
USE_BUILDLINK_ONLY= yes
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_PREFIX= ${PREFIX}/freetds
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-tdsver=7.0
|
|
|
|
USE_LIBTOOL= yes
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
EGDIR= ${PREFIX}/share/examples/freetds
|
|
CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.install.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|