d5e73eada8
- Don't install empty directories Approved by: portmgr blanket
32 lines
731 B
Makefile
32 lines
731 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= apache-solr
|
|
PORTVERSION= 3.6.2
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= APACHE/lucene/solr/${PORTVERSION}
|
|
PKGNAMESUFFIX= 3
|
|
|
|
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= *
|
|
USES= cpe tar:tgz
|
|
CPE_PRODUCT= solr
|
|
CPE_VENDOR= apache
|
|
NO_ARCH= yes
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "-not -empty"
|
|
|
|
.include <bsd.port.mk>
|