- Simplify LICENSE
- Switch to USES=localbase (and fix PREFIX vs. LOCALBASE misuse) - Unsilence build and installation - User proper command for library installation - Respect LDFLAGS - Update WWW Approved by: portmgr blanket
This commit is contained in:
parent
d42f128c10
commit
d9ea85efea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517810
2 changed files with 7 additions and 10 deletions
|
@ -12,12 +12,9 @@ DIST_SUBDIR= sqlite-ext
|
||||||
MAINTAINER= yuri@FreeBSD.org
|
MAINTAINER= yuri@FreeBSD.org
|
||||||
COMMENT= Search large vocabulary for close matches for SQLite
|
COMMENT= Search large vocabulary for close matches for SQLite
|
||||||
|
|
||||||
LICENSE= public
|
LICENSE= PD
|
||||||
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
|
|
||||||
|
|
||||||
USES= sqlite:3 zip
|
USES= localbase sqlite:3 zip
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
SRCFILE= ${DISTNAME}/ext/misc/spellfix.c
|
SRCFILE= ${DISTNAME}/ext/misc/spellfix.c
|
||||||
|
@ -28,13 +25,13 @@ EXTRACT_AFTER_ARGS= ${SRCFILE}
|
||||||
|
|
||||||
PLIST_FILES= libexec/${DIST_SUBDIR}/${LIBFILE}
|
PLIST_FILES= libexec/${DIST_SUBDIR}/${LIBFILE}
|
||||||
|
|
||||||
CFLAGS+= -I${PREFIX}/include -fPIC -shared
|
CFLAGS+= -fPIC -shared
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
@cd ${WRKSRC} && ${CC} ${CFLAGS} ${SRCFILE} -o ${LIBFILE}
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${SRCFILE} -o ${LIBFILE}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL} -d ${STAGEDIR}${PREFIX}/libexec/${DIST_SUBDIR}
|
@${MKDIR} ${STAGEDIR}${INST_DIR}
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}
|
${INSTALL_LIB} ${WRKSRC}/${LIBFILE} ${STAGEDIR}${INST_DIR}/
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -10,4 +10,4 @@ Functions:
|
||||||
editdist, editdist3, spellfix1_translit, spellfix1_phonehash,
|
editdist, editdist3, spellfix1_translit, spellfix1_phonehash,
|
||||||
spellfix1_scriptcode
|
spellfix1_scriptcode
|
||||||
|
|
||||||
WWW: http://www.sqlite.org/spellfix1.html
|
WWW: https://www.sqlite.org/spellfix1.html
|
||||||
|
|
Loading…
Reference in a new issue