Date: Sat, 6 Sep 2008 13:17:54 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/127147: Update port: textproc/lucene Message-ID: <200809061317.m86DHstd083738@www.freebsd.org> Resent-Message-ID: <200809061320.m86DK3U9044957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> +.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809061317.m86DHstd083738>