blob: 6f5d4799cb20149068e928e51b4bc563f84287ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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>
|