34 lines
856 B
Makefile
34 lines
856 B
Makefile
# $NetBSD: Makefile,v 1.9 2004/03/03 14:19:05 jdolecek Exp $
|
|
|
|
DISTNAME= fbsql.c
|
|
PKGNAME= tcl-fbsql-1.05
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.fastbase.co.nz/fbsql/
|
|
EXTRACT_SUFX=
|
|
|
|
MAINTAINER= bouyer@NetBSD.org
|
|
HOMEPAGE= http://www.fastbase.co.nz/fbsql/index.html
|
|
COMMENT= Tcl interface to MySQL
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
USE_BUILDLINK2= YES
|
|
USE_LIBTOOL= YES
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
|
|
${CP} ${_DISTDIR}/fbsql.c ${WRKSRC}/
|
|
|
|
do-install:
|
|
@-${MKDIR} ${TCL_DIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fbsql.so ${TCL_DIR}
|
|
|
|
.include "../../databases/mysql-client/buildlink2.mk"
|
|
.include "../../lang/tcl/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.ifmake do-install
|
|
# Need here for $PREFIX
|
|
TCL_DIR!= . ${PREFIX}/lib/tclConfig.sh; echo $$TCL_PACKAGE_PATH
|
|
.endif
|