freebsd-ports/textproc/apache-solr/Makefile
Jason Helfman 118b30124d - Update to 3.6.0, and pass maintainership to submitter [1]
- 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]
2012-05-04 16:31:05 +00:00

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>