From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 6 13:20:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3EE1065674 for ; Sat, 6 Sep 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5AF8FC1F for ; Sat, 6 Sep 2008 13:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m86DK3TT044958 for ; Sat, 6 Sep 2008 13:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m86DK3U9044957; Sat, 6 Sep 2008 13:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 6 Sep 2008 13:20:03 GMT Resent-Message-Id: <200809061320.m86DK3U9044957@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gerrit Beine Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA7A0106568F for ; Sat, 6 Sep 2008 13:17:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C1F8D8FC39 for ; Sat, 6 Sep 2008 13:17:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m86DHs2H083739 for ; Sat, 6 Sep 2008 13:17:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m86DHstd083738; Sat, 6 Sep 2008 13:17:54 GMT (envelope-from nobody) Message-Id: <200809061317.m86DHstd083738@www.freebsd.org> Date: Sat, 6 Sep 2008 13:17:54 GMT From: Gerrit Beine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127147: Update port: textproc/lucene X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 13:20:04 -0000 >Number: 127147 >Category: ports >Synopsis: Update port: textproc/lucene >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Sep 06 13:20:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 7.0-RELEASE >Organization: Beine Computer >Environment: FreeBSD tb.vmware.beine-computer.de 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Mar 9 16:13:49 CET 2008 root@tb.vmware.beine-computer.de:/usr/src/sys/i386/compile/VMWARE i386 >Description: Added option to install contrib JARs with the port. Thanks to Mikhail T. >How-To-Repeat: >Fix: diff -Nur /usr/ports/textproc/lucene/Makefile textproc/lucene/Makefile --- /usr/ports/textproc/lucene/Makefile 2008-06-06 16:04:49.000000000 +0200 +++ textproc/lucene/Makefile 2008-09-06 15:07:54.000000000 +0200 @@ -6,7 +6,7 @@ PORTNAME= lucene PORTVERSION= 2.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc java devel MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,lucene/java,} DISTNAME= lucene-${PORTVERSION} @@ -18,12 +18,37 @@ USE_JAVA= yes JAVA_VERSION= 1.5+ -OPTIONS= DOCS "Install docs & examples" on +OPTIONS= DOCS "Install docs & examples" on \ + CONTRIB "Install contribs" off PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}-core-${PORTVERSION}.jar +CONTRIBS= analyzers \ + ant \ + benchmark \ + highlighter \ + lucli \ + memory \ + misc \ + queries \ + regex \ + similarity \ + snowball \ + spellchecker \ + surround \ + swing \ + wikipedia \ + wordnet \ + xml-query-parser + .include +.if defined(WITH_CONTRIB) +.for f in ${CONTRIBS} +PLIST_FILES+=%%JAVAJARDIR%%/${PORTNAME}-${f}-${PORTVERSION}.jar +.endfor +.endif + .if defined(WITHOUT_DOCS) || !defined(WITH_DOCS) NOPORTDOCS= yes .endif @@ -36,6 +61,11 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-core-${PORTVERSION}.jar ${JAVAJARDIR} +.if defined(WITH_CONTRIB) + @${INSTALL_DATA} \ + ${CONTRIBS:C,^(.*$,${WRKSRC}/contrib/\1/${PORTNAME}-\1-${PORTVERSION}.jar,} \ + ${JAVADIR} +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${DOCSDIR} >Release-Note: >Audit-Trail: >Unformatted: