Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 21:15:00 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177120: [PATCH] graphics/piddle: Convert to OptionsNG
Message-ID:  <20130319201503.D66F29C9@hub.freebsd.org>
Resent-Message-ID: <201303192020.r2JKK4KZ097156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177120
>Category:       ports
>Synopsis:       [PATCH] graphics/piddle: Convert to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 19 20:20:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-piddle-1.0.15,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/piddle/Makefile ./Makefile
--- /usr/ports/graphics/piddle/Makefile	2013-01-14 17:57:01.000000000 +0100
+++ ./Makefile	2013-03-19 21:13:57.000000000 +0100
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	piddle
-# Date created:				29 Feb 2000
-# Whom:					dom@happygiraffe.net
-#
+# Created by: dom@happygiraffe.net
 # $FreeBSD: head/graphics/piddle/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	piddle
 PORTVERSION=	1.0.15
@@ -18,14 +14,13 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	*
-.endif
+
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC}/docs ; tar cf - *) | (cd ${DOCSDIR} ; tar xf -)
+.if ${PORT_OPTIONS:MDOCS}
+	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
--- py27-piddle-1.0.15,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130319201503.D66F29C9>