Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 19:53:16 +0000 (UTC)
From:      Beech Rintoul <beech@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314866 - head/graphics/piddle
Message-ID:  <201303211953.r2LJrG9c004938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beech
Date: Thu Mar 21 19:53:15 2013
New Revision: 314866
URL: http://svnweb.freebsd.org/changeset/ports/314866

Log:
  - Convert to OptionsNG
  
  PR:		ports/177120
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/piddle/Makefile   (contents, props changed)

Modified: head/graphics/piddle/Makefile
==============================================================================
--- head/graphics/piddle/Makefile	Thu Mar 21 19:13:29 2013	(r314865)
+++ head/graphics/piddle/Makefile	Thu Mar 21 19:53:15 2013	(r314866)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	piddle
-# Date created:				29 Feb 2000
-# Whom:					dom@happygiraffe.net
-#
+# Created by: dom@happygiraffe.net
 # $FreeBSD$
-#
 
 PORTNAME=	piddle
 PORTVERSION=	1.0.15
@@ -18,14 +14,13 @@ COMMENT=	Graphical Drawing library for P
 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>



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