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 WWW= https://www.sqlite.org/spellfix1.html LICENSE= PD 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+= -fPIC -shared do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${SRCFILE} -o ${LIBFILE} do-install: @${MKDIR} ${STAGEDIR}${INST_DIR} ${INSTALL_LIB} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}/ .include