ports/177120: [PATCH] graphics/piddle: Convert to OptionsNG
nemysis
nemysis at gmx.ch
Tue Mar 19 20:20:04 UTC 2013
>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 at happygiraffe.net
-#
+# Created by: dom at 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:
More information about the freebsd-ports-bugs
mailing list