blob: 1ab15dc68bdc321b501ba3cc6e3d94f2f9c2ee32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= apache-solr
PORTVERSION= 4.10.1
CATEGORIES= textproc java
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}
DISTNAME= solr-${PORTVERSION}
MAINTAINER= gaod@hychen.org
COMMENT= High performance search server built using Lucene Java
LICENSE= APACHE20
CONFLICT= apache-solr-3.6.*
USES= shebangfix tar:tgz
SHEBANG_FILES= example/etc/create-solrtest.keystore.sh
JAVA_VERSION= 1.7+
NO_BUILD= yes
NO_ARCH= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
USE_JAVA= yes
PORTEXAMPLES= *
LATEST_LINK= apache-solr
USE_RC_SUBR= solr
do-install:
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|