From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 5 20:05:19 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F27412DA for ; Wed, 5 Jun 2013 20:05:19 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9A5C91E4F for ; Wed, 5 Jun 2013 20:05:19 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MZic4-1Uy8Vk1Abu-00LX6G for ; Wed, 05 Jun 2013 22:05:18 +0200 Received: (qmail invoked by alias); 05 Jun 2013 20:05:17 -0000 Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5] by mail.gmx.net (mp002) with SMTP; 05 Jun 2013 22:05:17 +0200 X-Authenticated: #134568197 X-Provags-ID: V01U2FsdGVkX1/Ked51wNPKDSSAXk6ivU1a35QQk4Fp6fJg18LUuA nt/yajxqcfiHX4 Received: by something.email.com (sSMTP sendmail emulation); Wed, 05 Jun 2013 22:05:16 +0200 Date: Wed, 05 Jun 2013 22:05:16 +0200 To: FreeBSD-gnats-submit@freebsd.org Subject: [PATCH] graphics/passepartout: Trim docs, add FAM option From: nemysis X-send-pr-version: 3.113 X-GNATS-Notify: X-Y-GMX-Trusted: 0 Message-Id: <20130605200519.F27412DA@hub.freebsd.org> Cc: gnome@FreeBSD.org, jpaetzel@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 20:05:20 -0000 >Submitter-Id: current-users >Originator: nemysis >Organization: >Confidential: no >Synopsis: [PATCH] graphics/passepartout: Trim docs, add FAM option >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Shorten header - Trim docs - Add FAM Options - Comply with OptionsNG - Trim pkg-plist, remove docs Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- passepartout-0.7.1_4.patch begins here --- diff -ruN /usr/ports/graphics/passepartout/Makefile ./Makefile --- /usr/ports/graphics/passepartout/Makefile 2013-06-02 18:53:03.000000000 +0200 +++ ./Makefile 2013-06-05 21:52:31.000000000 +0200 @@ -1,10 +1,6 @@ -# New ports collection makefile for: passepartout -# Date created: 11st Sep 2003 -# Whom: Alexander Nedotsukov -# +# Created by: Alexander Nedotsukov # $FreeBSD: head/graphics/passepartout/Makefile 314640 2013-03-19 13:04:30Z eadler $ # $MCom: ports/graphics/passepartout/Makefile,v 1.4 2006/09/30 15:31:05 ahze Exp $ -# PORTNAME= passepartout PORTVERSION= 0.7.1 @@ -18,28 +14,36 @@ BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \ docbook2html:${PORTSDIR}/textproc/docbook-utils \ - ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 -LIB_DEPENDS= xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26 \ + ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 +LIB_DEPENDS= xml++-2.6:${PORTSDIR}/textproc/libxml++26 \ gnomecanvasmm-2.6:${PORTSDIR}/graphics/libgnomecanvasmm26 RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt USE_BZIP2= yes -USE_GMAKE= yes -USES= pathfix +USES= pathfix GNU_CONFIGURE= yes +USE_GMAKE= yes + CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= xml2ps.1 passepartout.1x +PORTDOCS= * -.include +OPTIONS_DEFINE= FAM -.if exists(${LOCALBASE}/lib/libfam.a) -WITH_FAM= yes -.endif +.include -.if defined(WITH_FAM) +.if ${PORT_OPTIONS:MFAM} USE_FAM= yes .endif -.include +.if ${PORT_OPTIONS:MDOCS} +MAN1= xml2ps.1 passepartout.1x +.endif + +post-patch: +.if ! ${PORT_OPTIONS:MDOCS} + @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in +.endif + +.include diff -ruN /usr/ports/graphics/passepartout/pkg-plist ./pkg-plist --- /usr/ports/graphics/passepartout/pkg-plist 2013-06-02 18:53:03.000000000 +0200 +++ ./pkg-plist 2013-04-09 20:20:20.000000000 +0200 @@ -1,37 +1,7 @@ bin/examinepdf bin/passepartout bin/xml2ps -%%DOCSDIR%%/README -%%DOCSDIR%%/docbook.xslt -%%DOCSDIR%%/examples/docbook.xslt -%%DOCSDIR%%/examples/example1.html -%%DOCSDIR%%/examples/example1.pp -%%DOCSDIR%%/examples/gradient.eps -%%DOCSDIR%%/examples/hippie.jpg -%%DOCSDIR%%/examples/hline.eps -%%DOCSDIR%%/examples/multilingual-head.xml -%%DOCSDIR%%/examples/multilingual.html -%%DOCSDIR%%/examples/multilingual.pp -%%DOCSDIR%%/examples/snowflake.eps -%%DOCSDIR%%/examples/snowflake.xml -%%DOCSDIR%%/examples/vline.eps -%%DOCSDIR%%/examples/xhtml.xslt -%%DOCSDIR%%/examples/xml2ps-example.xml -%%DOCSDIR%%/faq.html -%%DOCSDIR%%/faq.txt -%%DOCSDIR%%/faq.xml -%%DOCSDIR%%/nsfaq.html -%%DOCSDIR%%/nsfaq.txt -%%DOCSDIR%%/nsfaq.xml -%%DOCSDIR%%/pptout-sv.eps -%%DOCSDIR%%/users_guide.html -%%DOCSDIR%%/users_guide.pp -%%DOCSDIR%%/users_guide.txt -%%DOCSDIR%%/users_guide.xml -%%DOCSDIR%%/xhtml.xslt share/xml/passepartout/docbook.xslt share/xml/passepartout/xhtml.xslt share/xml/passepartout/xml2ps.dtd @dirrm share/xml/passepartout -@dirrm %%DOCSDIR%%/examples -@dirrm %%DOCSDIR%% --- passepartout-0.7.1_4.patch ends here ---