118b30124d
- while here... [2] - Add AL2 License - drop unneeded usage of bsd.port.pre.mk - standardize on MASTER_SITES - standardize on install, use COPYTREE_SHARE in favor of CP - use PORTEXAMPLES, and have plist follow PR: ports/167511 Submitted by: gaod@hychen.org [1], jgh@ [2] Approved by: maintainer, gslin@gslin.org [1], new maintainer gaod@hychen.org [2]
32 lines
717 B
Makefile
32 lines
717 B
Makefile
# New ports collection makefile for: apache-solr
|
|
# Date created: 2009-03-15
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= apache-solr
|
|
PORTVERSION= 3.6.0
|
|
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
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
USE_JAVA= yes
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|