aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/apache-solr/Makefile
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-05-05 00:31:05 +0800
committerjgh <jgh@FreeBSD.org>2012-05-05 00:31:05 +0800
commit49f01ac32905bf9b529284b167766592c33adce6 (patch)
tree11b9bdb8cebf44500658958443d191ad092cbdcb /textproc/apache-solr/Makefile
parent14568434ce315e20e36943d803400094ff8345a6 (diff)
downloadfreebsd-ports-gnome-49f01ac32905bf9b529284b167766592c33adce6.tar.gz
freebsd-ports-gnome-49f01ac32905bf9b529284b167766592c33adce6.tar.zst
freebsd-ports-gnome-49f01ac32905bf9b529284b167766592c33adce6.zip
- 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]
Diffstat (limited to 'textproc/apache-solr/Makefile')
-rw-r--r--textproc/apache-solr/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/apache-solr/Makefile b/textproc/apache-solr/Makefile
index 75fbe62157f9..f005eb20a98b 100644
--- a/textproc/apache-solr/Makefile
+++ b/textproc/apache-solr/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= apache-solr
-PORTVERSION= 3.5.0
+PORTVERSION= 3.6.0
CATEGORIES= textproc java
-MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,lucene/solr/${PORTVERSION},}
+MASTER_SITES= APACHE
+MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}/
EXTRACT_SUFX= .tgz
-MAINTAINER= gslin@gslin.org
+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
-
-.include <bsd.port.pre.mk>
+PORTEXAMPLES= *
do-install:
- ${CP} -R ${WRKSRC}/dist/ ${JAVAJARDIR}
+ cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/example/ ${EXAMPLESDIR}
+ cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>