# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # databases/sqlite-ext-spellfix # databases/sqlite-ext-spellfix/Makefile # databases/sqlite-ext-spellfix/distinfo # databases/sqlite-ext-spellfix/pkg-descr # databases/sqlite-ext-spellfix/pkg-message # echo c - databases/sqlite-ext-spellfix mkdir -p databases/sqlite-ext-spellfix > /dev/null 2>&1 echo x - databases/sqlite-ext-spellfix/Makefile sed 's/^X//' >databases/sqlite-ext-spellfix/Makefile << '400f39629be4ba5741939597927ce68a' X# Created by: Yuri Victorovich X# $FreeBSD$ X XPORTNAME= sqlite-ext-spellfix XPORTVERSION= 3.8.11.1 XCATEGORIES= databases XMASTER_SITES= https://www.sqlite.org/2015/ http://www2.sqlite.org/2015/ http://www3.sqlite.org/2015/ XDISTNAME= sqlite-src-${PORTVERSION:S|8.|8|:S|.|0|g} XDIST_SUBDIR= sqlite-ext X XMAINTAINER= yuri@rawbw.com XCOMMENT= Search large vocabulary for close matches for SQLite X XLICENSE= public XLICENSE_NAME= Public Domain XLICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html XLICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept X XUSES= zip XUSE_SQLITE= yes XNO_WRKSUBDIR= yes X XSRCFILE= ${DISTNAME}/ext/misc/spellfix.c XLIBFILE= libspellfix.so XINST_DIR= ${PREFIX}/libexec/${DIST_SUBDIR} XUSE_LDCONFIG= ${INST_DIR} X XEXTRACT_AFTER_ARGS= ${SRCFILE} X XPLIST_FILES= libexec/${DIST_SUBDIR}/${LIBFILE} X XCFLAGS+= -I${PREFIX}/include -fPIC -shared X Xdo-build: X @cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE} X Xdo-install: X ${INSTALL} -d ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR} X X.include 400f39629be4ba5741939597927ce68a echo x - databases/sqlite-ext-spellfix/distinfo sed 's/^X//' >databases/sqlite-ext-spellfix/distinfo << '609a48d00cb7b3762c69193b75b73969' XSHA256 (sqlite-ext/sqlite-src-3081101.zip) = 261ad454663f66fda6101b278bb7b3931cf01884deefbf4ea6b152f83a624662 XSIZE (sqlite-ext/sqlite-src-3081101.zip) = 9057103 609a48d00cb7b3762c69193b75b73969 echo x - databases/sqlite-ext-spellfix/pkg-descr sed 's/^X//' >databases/sqlite-ext-spellfix/pkg-descr << '3d7795969d4d7bccb4efc31da7e65bf9' XThis module implements the spellfix1 VIRTUAL TABLE that can be used Xto search a large vocabulary for close matches using Levenshtein distance. X XVirtual table: X X spellfix1 X XFunctions: X X editdist, editdist3, spellfix1_translit, spellfix1_phonehash, X spellfix1_scriptcode X XWWW: http://www.sqlite.org/spellfix1.html 3d7795969d4d7bccb4efc31da7e65bf9 echo x - databases/sqlite-ext-spellfix/pkg-message sed 's/^X//' >databases/sqlite-ext-spellfix/pkg-message << '0d6c5d1a24868f6f36be7ab7e58da973' X********************************************************************* XLoading extensions is by default prohibited as a security measure; Xsee "Security Considerations" in Xhttp://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions. X XIf the sqlite3 program and library are built this way, you cannot Xuse these functions from the program, you must write your own program Xusing the sqlite3 API, and call sqlite3_enable_load_extension as Xdescribed above, or else rebuilt the sqlite3 program to allow Xloadable extensions. X********************************************************************* 0d6c5d1a24868f6f36be7ab7e58da973 exit