svn commit: r314866 - head/graphics/piddle
Beech Rintoul
beech at FreeBSD.org
Thu Mar 21 19:53:16 UTC 2013
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 at 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 at happygiraffe.net
-#
+# Created by: dom at 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>
More information about the svn-ports-all
mailing list