Extract settings to be shared by various language bindings.

This commit is contained in:
schmonz 2017-07-10 17:29:58 +00:00
parent 4fa214ccb3
commit bd6f8bb2e1
4 changed files with 41 additions and 14 deletions

View file

@ -1,25 +1,16 @@
# $NetBSD: Makefile,v 1.30 2017/07/09 22:27:43 schmonz Exp $
# $NetBSD: Makefile,v 1.31 2017/07/10 17:29:58 schmonz Exp $
.include "../../textproc/xapian/Makefile.common"
DISTNAME= xapian-core-${VERSION}
VERSION= 1.4.4
PKGNAME= xapian-${VERSION}
CATEGORIES= textproc
MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/
EXTRACT_SUFX= .tar.xz
PKGNAME= ${DISTNAME:S/-core-/-/}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://xapian.org/
COMMENT= Probabilistic Information Retrieval search engine
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++11
TEST_TARGET= check
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/libuuid/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile.common,v 1.1 2017/07/10 17:29:58 schmonz Exp $
# used by textproc/xapian/module.mk
# used by textproc/csharp-xapian/Makefile
# used by textproc/lua-xapian/Makefile
# used by textproc/p5-Xapian/Makefile
# used by textproc/php-xapian/Makefile
# used by textproc/py-xapian/Makefile
# used by textproc/ruby-xapian/Makefile
VERSION= 1.4.4
CATEGORIES= textproc
MASTER_SITES= http://oligarchy.co.uk/xapian/${VERSION}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= schmonz@NetBSD.org
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++11
.include "../../devel/zlib/buildlink3.mk"

View file

@ -1,5 +1,9 @@
$NetBSD: distinfo,v 1.25 2017/07/09 22:27:43 schmonz Exp $
$NetBSD: distinfo,v 1.26 2017/07/10 17:29:58 schmonz Exp $
SHA1 (xapian-bindings-1.4.4.tar.xz) = 1162e836f3caccee927997f0d262ef6dccd44d9f
RMD160 (xapian-bindings-1.4.4.tar.xz) = 231d56d0989cf3a37a0b31d39680488fa1e80b39
SHA512 (xapian-bindings-1.4.4.tar.xz) = 006e771b3ea654130b4f76f1a1caee576fd5a3fa6317ca44f1e5483671e8c83073ecbde4f3fc7f84c75590eec53acb59701af4cf9bcd72355ed9d53924492b53
Size (xapian-bindings-1.4.4.tar.xz) = 1117140 bytes
SHA1 (xapian-core-1.4.4.tar.xz) = 6b8bf7eea3059dab8d5dd254c3ae0cf895bc4910
RMD160 (xapian-core-1.4.4.tar.xz) = 19535bc7ca5c175b7ee1c4898e9e9e796e45dcb0
SHA512 (xapian-core-1.4.4.tar.xz) = dc88bab1d82c68b29d51c2113319ddb5d16840f3544b9d5fcc7a3671f97d58f16ddff58b865ad3521ea778cbaacf73fe7346bb514a1275f1f739283a4128d001

11
textproc/xapian/module.mk Normal file
View file

@ -0,0 +1,11 @@
# $NetBSD: module.mk,v 1.1 2017/07/10 17:29:58 schmonz Exp $
.include "../../textproc/xapian/Makefile.common"
DISTNAME= xapian-bindings-${VERSION}
PKGNAME_MODULE= ${DISTNAME:S/-bindings-/-/}
DESCR_SRC= ${PKGDIR}/../../textproc/xapian/DESCR
DISTINFO_FILE= ${PKGDIR}/../../textproc/xapian/distinfo
.include "../../textproc/xapian/buildlink3.mk"