pkgsrc/databases/tcl-fbsql/Makefile
joerg 5737614cc6 Correctly build the module using the libtool approach. It worked more by
luck than intentional before. Bump revision.
2009-12-08 10:20:43 +00:00

31 lines
781 B
Makefile

# $NetBSD: Makefile,v 1.23 2009/12/08 10:20:43 joerg Exp $
DISTNAME= fbsql.c
PKGNAME= tcl-fbsql-1.06
PKGREVISION= 4
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
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/src
USE_LIBTOOL= YES
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= lib/tcl
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
${CP} ${_DISTDIR}/fbsql.c ${WRKSRC}/
do-install:
libtool --mode=install ${INSTALL_LIB} ${WRKSRC}/fbsql.la ${DESTDIR}${PREFIX}/lib/tcl
.include "../../mk/mysql.buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"