Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2012 21:52:37 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307398 - in head/math/k3dsurf: . files
Message-ID:  <201211132152.qADLqbSB028767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Tue Nov 13 21:52:37 2012
New Revision: 307398
URL: http://svnweb.freebsd.org/changeset/ports/307398

Log:
  Upgrade to 0.6.2.4.
  
  Feature safe:	yes

Added:
  head/math/k3dsurf/files/
  head/math/k3dsurf/files/patch-Makefile   (contents, props changed)
  head/math/k3dsurf/files/patch-src_Makefile   (contents, props changed)
Modified:
  head/math/k3dsurf/Makefile   (contents, props changed)
  head/math/k3dsurf/distinfo   (contents, props changed)

Modified: head/math/k3dsurf/Makefile
==============================================================================
--- head/math/k3dsurf/Makefile	Tue Nov 13 21:45:57 2012	(r307397)
+++ head/math/k3dsurf/Makefile	Tue Nov 13 21:52:37 2012	(r307398)
@@ -1,26 +1,25 @@
-# New ports collection makefile for:	K3DSurf
-# Date created:		Sun 19 feb 2006
-# Whom:			thierry@pompo.net
+# Created by: thierry@pompo.net
 #
 # $FreeBSD$
 #
 
 PORTNAME=	k3dsurf
-PORTVERSION=	0.6.2
-PORTREVISION=	5
+PORTVERSION=	0.6.2.4
 CATEGORIES=	math graphics
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}_Linux/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}_Linux/${PORTVERSION:R}
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Visualize and manipulate Mathematical surfaces or curves
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
 
 USE_GL=		yes
 USE_QT_VER=	3
-QTDIR?=		${QT_PREFIX}
+QTDIR=		${QT_PREFIX}
 MAKE_ENV=	QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"	\
-		QTDIR="${QTDIR}"
+		QTDIR="${QTDIR}" PTHREAD_LIBS="${PTHREAD_LIBS}"
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 

Modified: head/math/k3dsurf/distinfo
==============================================================================
--- head/math/k3dsurf/distinfo	Tue Nov 13 21:45:57 2012	(r307397)
+++ head/math/k3dsurf/distinfo	Tue Nov 13 21:52:37 2012	(r307398)
@@ -1,2 +1,2 @@
-SHA256 (k3dsurf-0.6.2.tar.gz) = 7d98781df74d3197b49a5a9ff748de088b8a8038ddaa6e53ee044c4c17440761
-SIZE (k3dsurf-0.6.2.tar.gz) = 1346107
+SHA256 (k3dsurf-0.6.2.4.tar.gz) = dc8d2b9b092ee03fd5a3d4ce211c24fa86d81d5278b0fd14dcb45e7f007cdc3e
+SIZE (k3dsurf-0.6.2.4.tar.gz) = 4317832

Added: head/math/k3dsurf/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/k3dsurf/files/patch-Makefile	Tue Nov 13 21:52:37 2012	(r307398)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2009-05-24 17:52:01.000000000 +0200
++++ Makefile	2012-11-13 22:10:45.000000000 +0100
+@@ -26,7 +26,7 @@
+ sub-src: src/$(MAKEFILE) FORCE
+ 	cd src && $(MAKE) -f $(MAKEFILE)
+ 
+-Makefile: k3dsurf.pro  /usr/share/qt3/mkspecs/default/qmake.conf 
++Makefile: k3dsurf.pro
+ 	$(QMAKE) -o Makefile k3dsurf.pro
+ qmake: qmake_all
+ 	@$(QMAKE) -o Makefile k3dsurf.pro

Added: head/math/k3dsurf/files/patch-src_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/k3dsurf/files/patch-src_Makefile	Tue Nov 13 21:52:37 2012	(r307398)
@@ -0,0 +1,43 @@
+--- src/Makefile.orig	2009-05-24 17:52:07.000000000 +0200
++++ src/Makefile	2012-11-13 22:29:38.000000000 +0100
+@@ -8,22 +8,22 @@
+ 
+ ####### Compiler, tools and options
+ 
+-CC       = gcc
+-CXX      = g++
++#CC       = gcc
++#CXX      = g++
+ LEX      = flex
+ YACC     = yacc
+-CFLAGS   = -pipe -g -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
+-CXXFLAGS = -pipe -g -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
++CFLAGS   += -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
++CXXFLAGS += -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
+ LEXFLAGS = 
+ YACCFLAGS= -d
+-INCPATH  = -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include
+-LINK     = g++
++INCPATH  = -I. -I$(QTDIR)/include
++LINK     = $(CXX)
+ LFLAGS   = 
+-LIBS     = $(SUBLIBS) -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
++LIBS     = $(SUBLIBS) -L/$(QTDIR)/lib -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm $(PTHREAD_LIBS)
+ AR       = ar cqs
+ RANLIB   = 
+-MOC      = /usr/share/qt3/bin/moc
+-UIC      = /usr/share/qt3/bin/uic
++MOC      = $(LOCALBASE)/bin/moc
++UIC      = $(LOCALBASE)/bin/uic
+ QMAKE    = qmake
+ TAR      = tar -cf
+ GZIP     = gzip -9f
+@@ -201,7 +201,7 @@
+ $(MOC): 
+ 	( cd $(QTDIR)/src/moc && $(MAKE) )
+ 
+-Makefile: src.pro  /usr/share/qt3/mkspecs/default/qmake.conf /usr/share/qt3/lib/libqt-mt.prl
++Makefile: src.pro
+ 	$(QMAKE) -o Makefile src.pro
+ qmake: 
+ 	@$(QMAKE) -o Makefile src.pro



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