- Deprecate as it depends on the expired x11-toolkits/gtkglarea [1]
While here: - Trim headers - Convert to OptionsNG Approved by: nivit (maintainer) [1]
This commit is contained in:
parent
bb3f74bc00
commit
12daf55f6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310026
1 changed files with 15 additions and 15 deletions
|
@ -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/beta/}
|
|||
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>
|
||||
|
|
Loading…
Reference in a new issue