aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-03-22 03:53:15 +0800
committerbeech <beech@FreeBSD.org>2013-03-22 03:53:15 +0800
commitc83c50a61865e0143654be38439d4bed187fcbeb (patch)
treed903b4839e60ba40d0bee20824a3ba560a88b921 /graphics
parent8612b8f88e8da80498006ea5180b49280a322677 (diff)
downloadfreebsd-ports-gnome-c83c50a61865e0143654be38439d4bed187fcbeb.tar.gz
freebsd-ports-gnome-c83c50a61865e0143654be38439d4bed187fcbeb.tar.zst
freebsd-ports-gnome-c83c50a61865e0143654be38439d4bed187fcbeb.zip
- Convert to OptionsNG
PR: ports/177120 Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/piddle/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/graphics/piddle/Makefile b/graphics/piddle/Makefile
index 9bc7791cdd35..bba38394bea9 100644
--- a/graphics/piddle/Makefile
+++ b/graphics/piddle/Makefile
@@ -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 Python
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>