# ex:ts=8 # New ports collection makefile for: sqlite # Date created: Feb 21, 2001 # Whom: Ying-Chieh Liao # # $FreeBSD$ # # By default, this port depends on TCL for building docs. If you want to build # without TCL (and thus get no docs), define NOPORTDOCS. # If you want to build the TCL wrapper, you have to define SQLITE_WITH_TCL84. PORTNAME= sqlite PORTVERSION= 3.2.7 CATEGORIES= databases MASTER_SITES= http://www.sqlite.org/ MAINTAINER= mnag@FreeBSD.org COMMENT= An SQL database engine in a C library w/ Tcl wrapper USE_GMAKE= YES USE_GNOME= pkgconfig USE_AUTOTOOLS= libtool:15 HAS_CONFIGURE= YES USE_REINPLACE= YES INSTALLS_SHLIB= YES DOCSDIR= ${PREFIX}/share/doc/sqlite3 EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3 LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3 # Defaults, for building the docs: TCL_V?= 8.4 MAKE_ARGS+= TCLSH=tclsh${TCL_V} MAKE_ENV+= TCL_VER=${TCL_V} OPTIONS= TCL84 "TCL wrapper for SQLITE" off .include .if defined(WITH_TCL84) CATEGORIES+= lang WITH_TCL= YES .endif .if defined(WITH_TCL) ALL_TARGET+= libtclsqlite.la PLIST_SUB+= WITH_TCL="" CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_V} .else PLIST_SUB+= WITH_TCL="@comment " CONFIGURE_ARGS= --disable-tcl .endif .if !defined(NOPORTDOCS) BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//} .endif CONFIGURE_ARGS+= --prefix=${PREFIX} --with-hints=freebsd.hints CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} ALL_TARGET= all .if !defined(NOPORTDOCS) PORTDOCS= * .endif post-patch: @${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \ -e "s|\./libtool|${LIBTOOL}|g" ${WRKSRC}/Makefile.in @${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" >${WRKSRC}/freebsd.hints @${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_V:S/.//}\"" >>${WRKSRC}/freebsd.hints # @${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints post-build: .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Building docs" @(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} doc) .endif post-install: .if defined(WITH_TCL) @${MKDIR} ${PREFIX}/lib/sqlite @(cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \ libtclsqlite3.la ${PREFIX}/lib/sqlite/) @${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/ @${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR} .endif .include n/devel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Chase the ftp/curl shlib version bump.roam2010-04-031-2/+2
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* Bump the version of the curl shared library after the ftp/curl updateroam2009-01-231-2/+2
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-251-1/+0
* Presenting GNOME 2.20.1 and all related works for FreeBSD. The officialmarcus2007-10-252-4/+5
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-191-2/+2
* Update the ftp/curl port to 7.16.0.roam2006-12-131-2/+2
* Add two additional patches, one of them with backdated entries fix andnovel2006-08-203-0/+26
* - Rename portspav2006-05-281-1/+1
* Remove USE_REINPLACE from all categories starting with Dedwin2006-05-051-1/+0
* Update to 4.5.3.novel2006-02-112-4/+4
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-6/+6
* - Update to 4.5.2novel2006-01-072-13/+5
* Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-0/+1
* Update to 4.5.1.novel2005-09-044-280/+9
* Add an extra patch which adds support of recently added tags system fornovel2005-06-252-0/+277
* Update to 4.4.1.novel2005-06-067-49/+13
* Fix build with xmms support enabled.novel2005-05-101-1/+1
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1
* [ patch ] fix logjam + gtkhtml3 problemedwin2004-12-221-1/+5
* Clean up handling of locale directories at deinstall-time:kris2004-12-161-0/+6
* Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-1/+1
* Add knob for a patch, which customizes a "journal link" dialog. It allows to usepav2004-11-072-0/+8
* Fix build with gcc 3.4.adamw2004-08-12