diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2019-11-17 17:39:55 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2019-11-17 17:39:55 +0800 |
commit | e3304aae4246e0575e5e1e293933a108d567ed6d (patch) | |
tree | 5de38ec4b37469135f3c3e21aba7e3ec671f922f /databases | |
parent | d70d044726c700220cae3cfeb0991c7f37ad9d3b (diff) | |
download | freebsd-ports-gnome-e3304aae4246e0575e5e1e293933a108d567ed6d.tar.gz freebsd-ports-gnome-e3304aae4246e0575e5e1e293933a108d567ed6d.tar.zst freebsd-ports-gnome-e3304aae4246e0575e5e1e293933a108d567ed6d.zip |
- 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
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqlite-ext-spellfix/Makefile | 15 | ||||
-rw-r--r-- | databases/sqlite-ext-spellfix/pkg-descr | 2 |
2 files changed, 7 insertions, 10 deletions
diff --git a/databases/sqlite-ext-spellfix/Makefile b/databases/sqlite-ext-spellfix/Makefile index 102ab4b8f47a..1c17d9dd71e7 100644 --- a/databases/sqlite-ext-spellfix/Makefile +++ b/databases/sqlite-ext-spellfix/Makefile @@ -12,12 +12,9 @@ DIST_SUBDIR= sqlite-ext MAINTAINER= yuri@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> diff --git a/databases/sqlite-ext-spellfix/pkg-descr b/databases/sqlite-ext-spellfix/pkg-descr index 48f9f9e8f187..cb08c8627298 100644 --- a/databases/sqlite-ext-spellfix/pkg-descr +++ b/databases/sqlite-ext-spellfix/pkg-descr @@ -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 |