2012-12-10 14:43:43 +01:00
|
|
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
2009-03-22 14:47:54 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apache-solr
|
2013-11-23 11:26:08 +01:00
|
|
|
PORTVERSION= 4.5.1
|
2009-03-22 14:47:54 +01:00
|
|
|
CATEGORIES= textproc java
|
2012-05-04 18:31:05 +02:00
|
|
|
MASTER_SITES= APACHE
|
2013-02-26 05:01:30 +01:00
|
|
|
MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}
|
|
|
|
DISTNAME= solr-${PORTVERSION}
|
2009-03-22 14:47:54 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-05-04 18:31:05 +02:00
|
|
|
MAINTAINER= gaod@hychen.org
|
2009-03-22 14:47:54 +01:00
|
|
|
COMMENT= High performance search server built using Lucene Java
|
|
|
|
|
2012-05-04 18:31:05 +02:00
|
|
|
LICENSE= AL2
|
2013-02-26 05:01:30 +01:00
|
|
|
|
|
|
|
CONFLICT= apache-solr-3.6.*
|
|
|
|
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2009-03-22 14:47:54 +01:00
|
|
|
NO_BUILD= yes
|
2010-01-13 08:51:50 +01:00
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
2009-03-22 14:47:54 +01:00
|
|
|
USE_JAVA= yes
|
2012-05-04 18:31:05 +02:00
|
|
|
PORTEXAMPLES= *
|
2013-02-26 05:01:30 +01:00
|
|
|
LATEST_LINK= apache-solr
|
2009-03-22 14:47:54 +01:00
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-20 23:34:03 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2009-03-22 14:47:54 +01:00
|
|
|
do-install:
|
2012-05-04 18:31:05 +02:00
|
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
|
2013-03-20 23:34:03 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2009-03-22 14:47:54 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2012-05-04 18:31:05 +02:00
|
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
2009-03-22 14:47:54 +01:00
|
|
|
.endif
|
|
|
|
|
2012-05-04 18:31:05 +02:00
|
|
|
.include <bsd.port.mk>
|