freebsd-ports/textproc/apache-solr/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

36 lines
843 B
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= apache-solr
PORTVERSION= 4.10.1
CATEGORIES= textproc java
MASTER_SITES= APACHE/lucene/solr/${PORTVERSION}
DISTNAME= solr-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= High performance search server built using Lucene Java
LICENSE= APACHE20
CONFLICT= apache-solr-3.6.*
USES= cpe shebangfix tar:tgz
SHEBANG_FILES= example/etc/create-solrtest.keystore.sh
JAVA_VERSION= 1.7+
NO_BUILD= yes
NO_ARCH= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
USE_JAVA= yes
PORTEXAMPLES= *
LATEST_LINK= apache-solr
USE_RC_SUBR= solr
CPE_PRODUCT= solr
CPE_VENDOR= apache
do-install:
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>