Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 22:58:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397669 - head/math/xppaut
Message-ID:  <201509232258.t8NMwXJi087074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 23 22:58:32 2015
New Revision: 397669
URL: https://svnweb.freebsd.org/changeset/ports/397669

Log:
  - Switch to options helpers
  - Pet portlint
  
  Approved by:	portmgr blanket

Modified:
  head/math/xppaut/Makefile

Modified: head/math/xppaut/Makefile
==============================================================================
--- head/math/xppaut/Makefile	Wed Sep 23 22:55:52 2015	(r397668)
+++ head/math/xppaut/Makefile	Wed Sep 23 22:58:32 2015	(r397669)
@@ -14,23 +14,17 @@ COMMENT=	Graphical tool for solving diff
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_XORG=	xbitmaps x11 xproto
+USE_XORG=	x11 xbitmaps xproto
 CFLAGS+=	-w -Wno-return-type
 WRKSRC=		${WRKDIR}
 ALL_TARGET=	xppaut
 
-post-build:
-	${RM} -f ${WRKSRC}/ode/._*
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
+DOCS_MAKE_ENV_OFF=	NOPORTDOCS=yes
+EXAMPLES_MAKE_ENV_OFF=	NOPORTEXAMPLES=yes
 
-.if !${PORT_OPTIONS:MDOCS}
-MAKE_ENV+=	NOPORTDOCS=yes
-.endif
-.if !${PORT_OPTIONS:MEXAMPLES}
-MAKE_ENV+=	NOPORTEXAMPLES=yes
-.endif
+post-build:
+	${RM} -f ${WRKSRC}/ode/._*
 
 .include <bsd.port.mk>



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