From owner-svn-ports-all@FreeBSD.ORG Sun Oct 7 04:49:09 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CF181065670; Sun, 7 Oct 2012 04:49:09 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 170838FC08; Sun, 7 Oct 2012 04:49:09 +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 q974n8OF019953; Sun, 7 Oct 2012 04:49:08 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q974n8C8019950; Sun, 7 Oct 2012 04:49:08 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210070449.q974n8C8019950@svn.freebsd.org> From: Eitan Adler Date: Sun, 7 Oct 2012 04:49:08 +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: r305430 - head/textproc/xmlwrapp 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: Sun, 07 Oct 2012 04:49:09 -0000 Author: eadler Date: Sun Oct 7 04:49:08 2012 New Revision: 305430 URL: http://svn.freebsd.org/changeset/ports/305430 Log: Convert to OptionsNG PR: ports/172437 Submitted by: Michael Gmelin Modified: head/textproc/xmlwrapp/Makefile Modified: head/textproc/xmlwrapp/Makefile ============================================================================== --- head/textproc/xmlwrapp/Makefile Sun Oct 7 04:44:48 2012 (r305429) +++ head/textproc/xmlwrapp/Makefile Sun Oct 7 04:49:08 2012 (r305430) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: xmlwrapp -# Date created: Jan 14, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= xmlwrapp PORTVERSION= 0.6.3 @@ -19,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= boost_iostreams.4:${PORTSDIR}/devel/boost-libs -OPTIONS= XSLT "build libxsltwrap library (requires libxslt)" off +OPTIONS_DEFINE= XSLT +XSLT_DESC= Build libxsltwrap library (requires libxslt) USE_GNOME= gnomehack libxml2 USE_PERL5_BUILD=yes @@ -34,7 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib .include -.if defined(WITH_XSLT) +.if ${PORT_OPTIONS:MXSLT} USE_GNOME+= libxslt PLIST_SUB+= XSLT="" .else @@ -47,9 +43,8 @@ post-patch: @${REINPLACE_CMD} '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif - .include