Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2019 09:39:56 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517810 - head/databases/sqlite-ext-spellfix
Message-ID:  <201911170939.xAH9duge078135@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911170939.xAH9duge078135>