From owner-svn-ports-all@FreeBSD.ORG Wed Sep 26 08:19:30 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2515106566C; Wed, 26 Sep 2012 08:19:30 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BE5F58FC08; Wed, 26 Sep 2012 08:19:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8Q8JUU7088771; Wed, 26 Sep 2012 08:19:30 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8Q8JUgO088769; Wed, 26 Sep 2012 08:19:30 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201209260819.q8Q8JUgO088769@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 26 Sep 2012 08:19:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304882 - head/textproc/libexttextcat X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 08:19:30 -0000 Author: bapt Date: Wed Sep 26 08:19:30 2012 New Revision: 304882 URL: http://svn.freebsd.org/changeset/ports/304882 Log: Convert to OptionsNG Removed never used code Modified: head/textproc/libexttextcat/Makefile Modified: head/textproc/libexttextcat/Makefile ============================================================================== --- head/textproc/libexttextcat/Makefile Wed Sep 26 07:40:25 2012 (r304881) +++ head/textproc/libexttextcat/Makefile Wed Sep 26 08:19:30 2012 (r304882) @@ -1,9 +1,4 @@ -# New ports collection makefile for: libexttextcat -# Date created: 2012-01-21 -# Whom: Baptiste Daroussin -# # $FreeBSD$ -# PORTNAME= libexttextcat PORTVERSION= 3.3.1 @@ -25,24 +20,19 @@ USE_LDCONFIG= yes PORTDOCS= README README.libtextcat TODO -OPTIONS= COMPAT_TEXTCAT "Install libtextcat compatible files" Off +OPTIONS_DEFINE= COMPAT_TEXTCAT DOCS +COMPAT_TEXTCAT_DESC= Install libtextcat compatible files .include -.if defined(WITH_COMPAT_TEXTCAT) +.if ${PORT_OPTIONS:MCOMPAT_TEXTCAT} PLIST_SUB+= TEXTCAT='' .else PLIST_SUB+= TEXTCAT='@comment ' .endif -.if defined(WITH_LM_FILES) -PLIST_SUB+= LM='' -.else -PLIST_SUB+= LM='@comment ' -.endif - post-install: -.if defined(WITH_COMPAT_TEXTCAT) +.if ${PORT_OPTIONS:MCOMPAT_TEXTCAT} ${LN} -sf libexttextcat/textcat.h ${PREFIX}/include/ ${LN} -sf libexttextcat ${PREFIX}/include/libtextcat ${LN} -sf libexttextcat-1.0.a ${PREFIX}/lib/libtextcat.a @@ -50,7 +40,7 @@ post-install: ${LN} -sf libexttextcat-1.0.so.0 ${PREFIX}/lib/libtextcat.so ${LN} -sf libexttextcat-1.0.so.0 ${PREFIX}/lib/libtextcat.so.0 .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif