aboutsummaryrefslogtreecommitdiff
path: root/graphics/sharpconstruct
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-18 23:36:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-18 23:36:08 +0000
commit86ab39eda5107a81a643eb88759035dbd5a1dea4 (patch)
tree5864b623853cb31fbc43b9dbc92b84c641f90a53 /graphics/sharpconstruct
parent6ff340cd2611abb45167051156e19554d175535a (diff)
downloadports-86ab39eda5107a81a643eb88759035dbd5a1dea4.tar.gz
ports-86ab39eda5107a81a643eb88759035dbd5a1dea4.zip
SharpConstruct is a 3D modeling program designed to paint depth on
to polygon models in real-time. Unlike traditional modeling programs, SharpConstruct makes it easy to model organic shapes. There is no need to even look at a wireframe (unless you want to). Instead, the model is manipulated much like clay - push or pull an area, smooth it, make a hollow or a hill. The entire process is both simple and organic; you won't need years of modeling experience to create detailed models in SharpConstruct. WWW: http://sharp3d.sourceforge.net/ PR: ports/94523 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Notes
Notes: svn path=/head/; revision=157624
Diffstat (limited to 'graphics/sharpconstruct')
-rw-r--r--graphics/sharpconstruct/Makefile45
-rw-r--r--graphics/sharpconstruct/distinfo3
-rw-r--r--graphics/sharpconstruct/pkg-descr10
-rw-r--r--graphics/sharpconstruct/pkg-plist18
4 files changed, 76 insertions, 0 deletions
diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile
new file mode 100644
index 000000000000..395eefbb73b5
--- /dev/null
+++ b/graphics/sharpconstruct/Makefile
@@ -0,0 +1,45 @@
+# ports collection makefile for: sharpconstruct
+# Date created: 24 Feb 2006
+# Whom: Dmitry Marakasov <amdmi3@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sharpconstruct
+PORTVERSION= 0.11
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= sharp3d
+
+MAINTAINER= amdmi3@mail.ru
+COMMENT= 3D modeller for organic shapes
+
+LIB_DEPENDS= gtkglextmm-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglextmm \
+ glademm-2.4.1:${PORTSDIR}/devel/libglademm24
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GL= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GCC= 3.4+
+
+MAN1= sharpconstruct.1
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile on FreeBSD 4.x (lack of *round* functions)
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|gtkglextmm-1\.2|gtkglextmm-1.0|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh
+ @${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc
+ @${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc
+ @${REINPLACE_CMD} -e '/FileDialog/,/}/ d' ${WRKSRC}/src/MainWindow.cc
+ @${REINPLACE_CMD} -e 's|memalign(b,c)|malloc(c)|' ${WRKSRC}/include/Align.hh
+ @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
+ ${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|'
+
+.include <bsd.port.post.mk>
diff --git a/graphics/sharpconstruct/distinfo b/graphics/sharpconstruct/distinfo
new file mode 100644
index 000000000000..149c642a4f34
--- /dev/null
+++ b/graphics/sharpconstruct/distinfo
@@ -0,0 +1,3 @@
+MD5 (sharpconstruct-0.11.tar.bz2) = fe0520c5236b22d966c2bb411cfc974d
+SHA256 (sharpconstruct-0.11.tar.bz2) = 7b787c3e67df4e735f71ba10f86726a59fc7232f8f24819ef566368f4a287ca9
+SIZE (sharpconstruct-0.11.tar.bz2) = 401176
diff --git a/graphics/sharpconstruct/pkg-descr b/graphics/sharpconstruct/pkg-descr
new file mode 100644
index 000000000000..8923d2ce73ad
--- /dev/null
+++ b/graphics/sharpconstruct/pkg-descr
@@ -0,0 +1,10 @@
+SharpConstruct is a 3D modeling program designed to paint depth on
+to polygon models in real-time. Unlike traditional modeling programs,
+SharpConstruct makes it easy to model organic shapes. There is no
+need to even look at a wireframe (unless you want to). Instead, the
+model is manipulated much like clay - push or pull an area, smooth
+it, make a hollow or a hill. The entire process is both simple and
+organic; you won't need years of modeling experience to create
+detailed models in SharpConstruct.
+
+WWW: http://sharp3d.sourceforge.net/
diff --git a/graphics/sharpconstruct/pkg-plist b/graphics/sharpconstruct/pkg-plist
new file mode 100644
index 000000000000..5ff0a9a2a2bd
--- /dev/null
+++ b/graphics/sharpconstruct/pkg-plist
@@ -0,0 +1,18 @@
+bin/sharpconstruct
+%%DATADIR%%/brushes/Default.png
+%%DATADIR%%/brushes/Flat.png
+%%DATADIR%%/brushes/HollowCircle.png
+%%DATADIR%%/brushes/LargeBumps.png
+%%DATADIR%%/brushes/Rectangle.png
+%%DATADIR%%/interface/SharpConstruct.glade
+%%DATADIR%%/interface/center.png
+%%DATADIR%%/interface/double.png
+%%DATADIR%%/interface/icon.png
+%%DATADIR%%/interface/logo.png
+%%DATADIR%%/interface/pressure.png
+%%DATADIR%%/interface/smoothed.png
+%%DATADIR%%/interface/speed.png
+%%DATADIR%%/interface/wire.png
+@dirrm %%DATADIR%%/brushes
+@dirrm %%DATADIR%%/interface
+@dirrm %%DATADIR%%