aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-29 06:25:57 +0800
committerbapt <bapt@FreeBSD.org>2013-06-29 06:25:57 +0800
commitac38eed3b7dec76e2dd927cab5650b91ff69393a (patch)
tree2e257d9ce93af2da67014d411009d1857a37c298
parentdf1cee8be97a81df465361c65b863d61807c908a (diff)
downloadfreebsd-ports-gnome-ac38eed3b7dec76e2dd927cab5650b91ff69393a.tar.gz
freebsd-ports-gnome-ac38eed3b7dec76e2dd927cab5650b91ff69393a.tar.zst
freebsd-ports-gnome-ac38eed3b7dec76e2dd927cab5650b91ff69393a.zip
Convert to USES=imake
Trim headers optionsng
-rw-r--r--science/2d-rewriter/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/science/2d-rewriter/Makefile b/science/2d-rewriter/Makefile
index 8f93223be9e4..787e291678eb 100644
--- a/science/2d-rewriter/Makefile
+++ b/science/2d-rewriter/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: 2d-rewriter
-# Date created: 8 December 2007
-# Whom: Igor Serikov <iserikov@acm.org>
-#
+# Created by: Igor Serikov <iserikov@acm.org>
# $FreeBSD$
-#
PORTNAME= 2d-rewriter
PORTVERSION= 1.4
@@ -15,10 +11,12 @@ COMMENT= Cellular automata simulator
MAN1= 2d-rewriter.1
MANCOMPRESSED= yes
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
-.if !defined(NOPORTEXAMPLES)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})