svn commit: r397669 - head/math/xppaut

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 23 22:58:33 UTC 2015


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>


More information about the svn-ports-all mailing list