3e0a2d7508
- Add license - Convert to options helpers Sponsored by: Absolight
30 lines
688 B
Makefile
30 lines
688 B
Makefile
# 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}/
|
|
PKGNAMESUFFIX= 3
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= High performance search server built using Lucene Java
|
|
|
|
LICENSE= APACHE20
|
|
|
|
CONFLICT= apache-solr-4.1.*
|
|
|
|
JAVA_VERSION= 1.6+
|
|
NO_BUILD= yes
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
USE_JAVA= yes
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|