Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2013 07:50:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@svn.freebsd.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310026 - head/graphics/py-visual
Message-ID:  <50ea7e4f.1e4e.7201ff3@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan  7 07:50:39 2013
New Revision: 310026
URL: http://svnweb.freebsd.org/changeset/ports/310026

Log:
  - Deprecate as it depends on the expired x11-toolkits/gtkglarea [1]
  While here:
  - Trim headers
  - Convert to OptionsNG
  
  Approved by:	nivit (maintainer) [1]

Modified:
  head/graphics/py-visual/Makefile

Modified: head/graphics/py-visual/Makefile
==============================================================================
--- head/graphics/py-visual/Makefile	Mon Jan  7 06:43:55 2013	(r310025)
+++ head/graphics/py-visual/Makefile	Mon Jan  7 07:50:39 2013	(r310026)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	py-visual
-# Date created:		2005-07-13
-# Whom:			Nicola Vitale <nivit@email.it>
-#
+# Created by: Nicola Vitale <nivit@email.it>
 # $FreeBSD$
-#
 
 PORTNAME=	visual
 PORTVERSION=	4.b26
@@ -16,6 +12,9 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/b/
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	A python module that offers real 3D visual output
 
+DEPRECATED=	Depends on the expired x11-toolkits/gtkglarea
+EXPIRATION_DATE=	2013-02-06
+
 BUILD_DEPENDS=	${PYNUMPY} \
 		bjam:${PORTSDIR}/devel/boost-jam
 LIB_DEPENDS=	gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
@@ -29,28 +28,29 @@ USE_GMAKE=	yes
 USE_GNOME=	gtk12
 USE_PYTHON=	2.5+
 
-OPTIONS=	EXAMPLES "install example files" on
+OPTIONS_DEFINE=	DOCS EXAMPLES
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR} --disable-dependency-tracking
-.if defined(NOPORTDOCS)
-CONFIGURE_ARGS+=	--disable-docs
-.endif
 CONFIGURE_ENV=	PYTHONPATH=${PYTHON_LIBDIR}
 CFLAGS+=	${PTHREAD_CFLAGS}
 LDFLAGS+=	${PTREAD_LIBS}
 
 VPYTHON_SCRIPT=	bin/vpython.in
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITH_EXAMPLES)
-CONFIGURE_ARGS+=	--disable-examples
-PLIST_SUB+=	PORTEXAMPLES="@comment "
-.else
+.if ! ${PORT_OPTIONS:MDOCS}
+CONFIGURE_ARGS+=	--disable-docs
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
 CONFIGURE_ARGS+=	--with-example-dir=${EXAMPLESDIR}
 PLIST_SUB+=	PORTEXAMPLES=""
+.else
+CONFIGURE_ARGS+=	--disable-examples
+PLIST_SUB+=	PORTEXAMPLES="@comment "
 .endif
 
 post-patch:
@@ -59,4 +59,4 @@ post-patch:
 		-e 's|%%PYTHON_VERSION%%|${PYTHON_VER}|g' \
 		${VPYTHON_SCRIPT}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50ea7e4f.1e4e.7201ff3>