diff -ruN clucene.orig/Makefile clucene/Makefile --- clucene.orig/Makefile 2012-12-28 21:14:45.630601443 +0400 +++ clucene/Makefile 2012-12-28 21:35:40.737736009 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: clucene -# Date created: 2006-08-09 -# Whom: Cheng-Lung Sung -# +# Created by: Cheng-Lung Sung # $FreeBSD: ports/textproc/clucene/Makefile,v 1.13 2012/11/17 06:01:53 svnexp Exp $ -# PORTNAME= clucene PORTVERSION= 0.9.21 @@ -14,15 +10,22 @@ MAINTAINER= clsung@FreeBSD.org COMMENT= CLucene is a C++ port of Lucene +LICENSE= AL2 + +CONFLICTS= clucene2-[0-9]* + GNU_CONFIGURE= yes USE_BZIP2= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool -.include +OPTIONS_DEFINE= ASCII_SUPPORT +ASCII_SUPPORT_DESC= Enable ascii support + +.include -.if defined(WITH_ASCII_SUPPORT) +.if ${PORT_OPTIONS:MASCII_SUPPORT} CONFIGURE_ARGS+= --enable-ascii .endif -.include +.include diff -ruN clucene-contrib.orig/Makefile clucene-contrib/Makefile --- clucene-contrib.orig/Makefile 2012-12-28 21:15:09.507360081 +0400 +++ clucene-contrib/Makefile 2012-12-28 21:38:47.305408157 +0400 @@ -1,9 +1,5 @@ -# New ports collection makefile for: clucene-contrib -# Date created: 2010-10-4 -# Whom: Tom Judge -# +# Created by: Tom Judge # $FreeBSD: ports/textproc/clucene-contrib/Makefile,v 1.5 2012/11/17 06:01:53 svnexp Exp $ -# PORTNAME= clucene-contrib PORTVERSION= 0.9.16a @@ -13,19 +9,26 @@ MAINTAINER= tj@FreeBSD.org COMMENT= CLucene Contrib Code and Tools -LIB_DEPENDS= clucene.0:${PORTSDIR}/textproc/clucene +LICENSE= AL2 + +LIB_DEPENDS= clucene:${PORTSDIR}/textproc/clucene BUILD_DEPENDS= ${LOCALBASE}/include/iconv.h:${PORTSDIR}/converters/libiconv +CONFLICTS= clucene2-[0-9]* + GNU_CONFIGURE= yes USE_BZIP2= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool USE_DOS2UNIX= yes -.include +OPTIONS_DEFINE= ASCII_SUPPORT +ASCII_SUPPORT_DESC= Enable ascii support + +.include -.if defined(WITH_ASCII_SUPPORT) +.if ${PORT_OPTIONS:MASCII_SUPPORT} CONFIGURE_ARGS+= --enable-ascii .endif -.include +.include