- 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
31 lines
704 B
Makefile
31 lines
704 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
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|