svn commit: r360347 - head/textproc/libsphinxclient
Tijl Coosemans
tijl at FreeBSD.org
Thu Jul 3 09:25:01 UTC 2014
Author: tijl
Date: Thu Jul 3 09:25:00 2014
New Revision: 360347
URL: http://svnweb.freebsd.org/changeset/ports/360347
QAT: https://qat.redports.org/buildarchive/r360347/
Log:
- Use the license from the api/libsphinxclient subdirectory
- Convert to USES=libtool
- Use standard do-install
Modified:
head/textproc/libsphinxclient/Makefile
head/textproc/libsphinxclient/pkg-plist
Modified: head/textproc/libsphinxclient/Makefile
==============================================================================
--- head/textproc/libsphinxclient/Makefile Thu Jul 3 09:20:50 2014 (r360346)
+++ head/textproc/libsphinxclient/Makefile Thu Jul 3 09:25:00 2014 (r360347)
@@ -3,6 +3,7 @@
PORTNAME= libsphinxclient
DISTVERSION= 2.0.9
+PORTREVISION= 1
CATEGORIES= textproc databases
MASTER_SITES= http://sphinxsearch.com/files/
DISTNAME= sphinx-${PORTVERSION}-release
@@ -10,25 +11,17 @@ DISTNAME= sphinx-${PORTVERSION}-release
MAINTAINER= mephius at gmail.com
COMMENT= Sphinx Full-Text Search Engine C++ client library
-LICENSE= GPLv2
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC_SUBDIR= api/libsphinxclient
+USES= libtool
USE_LDCONFIG= yes
-
-USE_AUTOTOOLS= libtool
-MAKE_JOBS_UNSAFE= yes
-
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CC=${CC}
-SUB_LIST+= PORTNAME=${PORTNAME}
+MAKE_JOBS_UNSAFE= yes
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/.libs/libsphinxclient-0.0.1.so ${STAGEDIR}${PREFIX}/lib/libsphinxclient-0.0.1.so
- ${INSTALL_DATA} ${WRKSRC}/libsphinxclient.la ${STAGEDIR}${PREFIX}/lib/libsphinxclient.la
- ${INSTALL_DATA} ${WRKSRC}/.libs/libsphinxclient.a ${STAGEDIR}${PREFIX}/lib/libsphinxclient.a
- ${INSTALL_DATA} ${WRKSRC}/sphinxclient.h ${STAGEDIR}${PREFIX}/include/sphinxclient.h
- ${LN} -s libsphinxclient-0.0.1.so ${STAGEDIR}${PREFIX}/lib/libsphinxclient.so.0
- ${LN} -s libsphinxclient-0.0.1.so ${STAGEDIR}${PREFIX}/lib/libsphinxclient.so
+post-install:
+ ${LN} -s libsphinxclient-0.0.1.so ${STAGEDIR}${PREFIX}/lib/libsphinxclient-0.0.1.so.0
.include <bsd.port.mk>
Modified: head/textproc/libsphinxclient/pkg-plist
==============================================================================
--- head/textproc/libsphinxclient/pkg-plist Thu Jul 3 09:20:50 2014 (r360346)
+++ head/textproc/libsphinxclient/pkg-plist Thu Jul 3 09:25:00 2014 (r360347)
@@ -1,6 +1,5 @@
lib/libsphinxclient-0.0.1.so
-lib/libsphinxclient.so.0
+lib/libsphinxclient-0.0.1.so.0
lib/libsphinxclient.a
-lib/libsphinxclient.la
lib/libsphinxclient.so
include/sphinxclient.h
More information about the svn-ports-all
mailing list