[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / sqsh

File: [cvs.NetBSD.org] / pkgsrc / databases / sqsh / Makefile (download)

Revision 1.9, Thu Jun 21 02:04:59 2001 UTC (18 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.8: +9 -10 lines

Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.

# $NetBSD: Makefile,v 1.9 2001/06/21 02:04:59 jlam Exp $

DISTNAME=	sqsh-1.7-src
PKGNAME=	sqsh-1.7
WRKSRC=		${WRKDIR}/${PKGNAME}
CATEGORIES=	databases
MASTER_SITES=	http://www.voicenet.com/~gray/

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://www.voicenet.com/~gray/sqsh.html
COMMENT=	Sybase SQL shell

ALL_TARGET=		sqsh
INSTALL_TARGET=		install install.man

USE_BUILDLINK_ONLY=	yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-readline
CONFIGURE_ENV+=		SYBASE="${BUILDLINK_DIR}/${SYBASE}"

SYBASE=			freetds
LDFLAGS+=		-Wl,-R${LOCALBASE}/${SYBASE}/lib

CONFIGURE_ENV+=		INCDIRS="${BUILDLINK_DIR}/include"
CONFIGURE_ENV+=		LIBDIRS="${BUILDLINK_DIR}/lib"

.include "../../databases/freetds/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../mk/bsd.pkg.mk"