diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqlite3/Makefile | 24 | ||||
-rw-r--r-- | databases/sqlite3/PLIST | 5 | ||||
-rw-r--r-- | databases/sqlite3/options.mk | 16 |
3 files changed, 32 insertions, 13 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index f85dc3c3a40..c1daac890aa 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,24 +1,24 @@ -# $NetBSD: Makefile,v 1.2 2005/02/24 16:02:28 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2005/03/07 14:59:06 adam Exp $ -DISTNAME= sqlite-3.1.3 -PKGNAME= ${DISTNAME:S/-/3-/} -CATEGORIES= databases -MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \ - http://www.sqlite.org/ +DISTNAME= sqlite-3.1.3 +PKGNAME= ${DISTNAME:S/-/3-/} +PKGREVISION= 1 +CATEGORIES= databases +MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \ + http://www.sqlite.org/ -MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://www.hwaci.com/sw/sqlite/ -COMMENT= SQL Database Engine in a C Library +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.hwaci.com/sw/sqlite/ +COMMENT= SQL Database Engine in a C Library USE_BUILDLINK3= yes USE_GNU_TOOLS+= make USE_LIBTOOL= yes - GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --disable-tcl - PKGCONFIG_OVERRIDE= ${WRKDIR}/sqlite/sqlite3.pc.in +.include "options.mk" + post-install: ${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${PREFIX}/man/man1/sqlite3.1 diff --git a/databases/sqlite3/PLIST b/databases/sqlite3/PLIST index e050e33dbb7..4c59295f768 100644 --- a/databases/sqlite3/PLIST +++ b/databases/sqlite3/PLIST @@ -1,6 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/16 02:00:33 tv Exp $ +@comment $NetBSD: PLIST,v 1.2 2005/03/07 14:59:06 adam Exp $ bin/sqlite3 include/sqlite3.h lib/libsqlite3.la lib/pkgconfig/sqlite3.pc +${TCL_COMMENT}lib/tcl8.4/sqlite3/libtclsqlite3.so +${TCL_COMMENT}lib/tcl8.4/sqlite3/pkgIndex.tcl +${TCL_COMMENT}@dirrm lib/tcl8.4/sqlite3 man/man1/sqlite3.1 diff --git a/databases/sqlite3/options.mk b/databases/sqlite3/options.mk new file mode 100644 index 00000000000..4bcc23cafe2 --- /dev/null +++ b/databases/sqlite3/options.mk @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2005/03/07 14:59:06 adam Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3 +PKG_DEFAULT_OPTIONS= # empty +PKG_SUPPORTED_OPTIONS= tcl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mtcl) +CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib +PLIST_SUBST+= TCL_COMMENT= +. include "../../lang/tcl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-tcl +PLIST_SUBST+= TCL_COMMENT="@comment " +.endif |