Index: head/databases/sqlite-ext-spellfix/Makefile =================================================================== --- head/databases/sqlite-ext-spellfix/Makefile (revision 517809) +++ head/databases/sqlite-ext-spellfix/Makefile (revision 517810) @@ -1,40 +1,37 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= sqlite-ext-spellfix PORTVERSION= 3.8.11.1 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://www.sqlite.org/2015/ http://www2.sqlite.org/2015/ http://www3.sqlite.org/2015/ DISTNAME= sqlite-src-${PORTVERSION:S|8.|8|:S|.|0|g} DIST_SUBDIR= sqlite-ext MAINTAINER= yuri@FreeBSD.org COMMENT= Search large vocabulary for close matches for SQLite -LICENSE= public -LICENSE_NAME= Public Domain -LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE= PD -USES= sqlite:3 zip +USES= localbase sqlite:3 zip NO_WRKSUBDIR= yes SRCFILE= ${DISTNAME}/ext/misc/spellfix.c LIBFILE= libspellfix.so INST_DIR= ${PREFIX}/libexec/${DIST_SUBDIR} EXTRACT_AFTER_ARGS= ${SRCFILE} PLIST_FILES= libexec/${DIST_SUBDIR}/${LIBFILE} -CFLAGS+= -I${PREFIX}/include -fPIC -shared +CFLAGS+= -fPIC -shared do-build: - @cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE} + cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${SRCFILE} -o ${LIBFILE} do-install: - ${INSTALL} -d ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR} + @${MKDIR} ${STAGEDIR}${INST_DIR} + ${INSTALL_LIB} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}/ .include Index: head/databases/sqlite-ext-spellfix/pkg-descr =================================================================== --- head/databases/sqlite-ext-spellfix/pkg-descr (revision 517809) +++ head/databases/sqlite-ext-spellfix/pkg-descr (revision 517810) @@ -1,13 +1,13 @@ This module implements the spellfix1 VIRTUAL TABLE that can be used to search a large vocabulary for close matches using Levenshtein distance. Virtual table: spellfix1 Functions: editdist, editdist3, spellfix1_translit, spellfix1_phonehash, spellfix1_scriptcode -WWW: http://www.sqlite.org/spellfix1.html +WWW: https://www.sqlite.org/spellfix1.html