blob: f759d59bec956db41a5b9cc393b314a9ca8dc942 (
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
|
# New ports collection makefile for: apache-solr
# Date created: 2009-03-15
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= apache-solr
PORTVERSION= 1.4.1
CATEGORIES= textproc java
MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,lucene/solr/${PORTVERSION},}
EXTRACT_SUFX= .tgz
MAINTAINER= gslin@gslin.org
COMMENT= High performance search server built using Lucene Java
JAVA_VERSION= 1.5+
NO_BUILD= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
USE_JAVA= yes
.include <bsd.port.pre.mk>
do-install:
${CP} -R ${WRKSRC}/dist/ ${JAVAJARDIR}
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/example/ ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
|