svn commit: r517810 - head/databases/sqlite-ext-spellfix
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Nov 17 09:39:57 UTC 2019
Author: amdmi3
Date: Sun Nov 17 09:39:55 2019
New Revision: 517810
URL: https://svnweb.freebsd.org/changeset/ports/517810
Log:
- 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
Modified:
head/databases/sqlite-ext-spellfix/Makefile
head/databases/sqlite-ext-spellfix/pkg-descr
Modified: head/databases/sqlite-ext-spellfix/Makefile
==============================================================================
--- head/databases/sqlite-ext-spellfix/Makefile Sun Nov 17 09:39:49 2019 (r517809)
+++ head/databases/sqlite-ext-spellfix/Makefile Sun Nov 17 09:39:55 2019 (r517810)
@@ -12,12 +12,9 @@ DIST_SUBDIR= sqlite-ext
MAINTAINER= yuri at 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
@@ -28,13 +25,13 @@ 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 <bsd.port.mk>
Modified: head/databases/sqlite-ext-spellfix/pkg-descr
==============================================================================
--- head/databases/sqlite-ext-spellfix/pkg-descr Sun Nov 17 09:39:49 2019 (r517809)
+++ head/databases/sqlite-ext-spellfix/pkg-descr Sun Nov 17 09:39:55 2019 (r517810)
@@ -10,4 +10,4 @@ Functions:
editdist, editdist3, spellfix1_translit, spellfix1_phonehash,
spellfix1_scriptcode
-WWW: http://www.sqlite.org/spellfix1.html
+WWW: https://www.sqlite.org/spellfix1.html
More information about the svn-ports-all
mailing list