mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
37 lines
895 B
Makefile
37 lines
895 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
|
|
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= 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 <bsd.port.mk>
|