2013-02-26 05:01:30 +01:00
|
|
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apache-solr
|
|
|
|
PORTVERSION= 3.6.2
|
|
|
|
CATEGORIES= textproc java
|
|
|
|
MASTER_SITES= APACHE
|
|
|
|
MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
|
|
COMMENT= High performance search server built using Lucene Java
|
|
|
|
|
|
|
|
LICENSE= AL2
|
|
|
|
|
|
|
|
CONFLICT= apache-solr-4.1.*
|
|
|
|
|
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
JAVA_VERSION= 1.6+
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
USE_JAVA= yes
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2013-02-26 05:01:30 +01:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|