From ac38eed3b7dec76e2dd927cab5650b91ff69393a Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 28 Jun 2013 22:25:57 +0000 Subject: Convert to USES=imake Trim headers optionsng --- science/2d-rewriter/Makefile | 12 +++++------- 1 file 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 -# +# Created by: Igor Serikov # $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 + +.if ${PORT_OPTIONS:MEXAMPLES} post-install: ${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -- cgit