summaryrefslogtreecommitdiffstats
path: root/misc/terraform
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 07:45:21 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 07:45:21 +0800
commitf586e4202eb5092e514232492578be786d7afccb (patch)
tree6b6a81bdfcf2d78316484d037555ba8e37cf7ae6 /misc/terraform
parentca0ca400d3bb6e434c31a2bf4064d79cfb5ea303 (diff)
downloadmarcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar.gz
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar.bz2
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar.lz
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar.xz
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.tar.zst
marcuscom-ports-f586e4202eb5092e514232492578be786d7afccb.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9270 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc/terraform')
-rw-r--r--misc/terraform/Makefile44
-rw-r--r--misc/terraform/distinfo3
-rw-r--r--misc/terraform/files/patch-desktop-links::Makefile.in15
-rw-r--r--misc/terraform/files/patch-docs::Makefile.in11
-rw-r--r--misc/terraform/pkg-descr12
-rw-r--r--misc/terraform/pkg-plist98
6 files changed, 183 insertions, 0 deletions
diff --git a/misc/terraform/Makefile b/misc/terraform/Makefile
new file mode 100644
index 000000000..3cd1b85fe
--- /dev/null
+++ b/misc/terraform/Makefile
@@ -0,0 +1,44 @@
+# ex:ts=8
+# Ports collection makefile for: terraform
+# Date created: Feb 8, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= terraform
+PORTVERSION= 0.9.0
+PORTREVISION= 5
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Interactive height field generation and manipulation program
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libtrio.a:${PORTSDIR}/devel/trio
+
+USE_X_PREFIX= yes
+USE_BISON= yes
+USE_GNOME= gnomeprefix gnomehack gnomeprint
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|Bison |Bison|g ; \
+ s|-ltrio $$LIBS|-ltrio -lm $$LIBS|g ; \
+ s|#define 1|#define HAVE_LIB_TRIO 1|g ; \
+ s|(HAVE_LIB_TRIO)||g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/src/xmlsupport.c
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in FAQ.sgml README.sgml UsersGuide.sgml i18n.txt
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/terraform/distinfo b/misc/terraform/distinfo
new file mode 100644
index 000000000..ab3e4888e
--- /dev/null
+++ b/misc/terraform/distinfo
@@ -0,0 +1,3 @@
+MD5 (terraform-0.9.0.tar.gz) = a1af0cbb6719b49b30d326df9d06434a
+SHA256 (terraform-0.9.0.tar.gz) = 58063abd2885bfeff671e7697dd0685288c24f7ff790c925691017546fd8ac7d
+SIZE (terraform-0.9.0.tar.gz) = 915714
diff --git a/misc/terraform/files/patch-desktop-links::Makefile.in b/misc/terraform/files/patch-desktop-links::Makefile.in
new file mode 100644
index 000000000..f2a285ae6
--- /dev/null
+++ b/misc/terraform/files/patch-desktop-links::Makefile.in
@@ -0,0 +1,15 @@
+--- desktop-links/Makefile.in.orig Thu Apr 25 01:16:49 2002
++++ desktop-links/Makefile.in Tue May 6 00:23:34 2003
+@@ -232,10 +232,8 @@
+ install-data-local:
+ @$(NORMAL_INSTALL)
+ if test -n "@datadir@"; then \
+- $(mkinstalldirs) $(GNOME_DATADIR)/gnome/apps/Graphics; \
+- $(INSTALL_DATA) Terraform.desktop $(GNOME_DATADIR)/gnome/apps/Graphics; \
+- $(mkinstalldirs) $(GNOME_DATADIR)/gnome/ximian/Programs/Graphics; \
+- $(INSTALL_DATA) Terraform.desktop $(GNOME_DATADIR)/gnome/ximian/Programs/Graphics; \
++ $(mkinstalldirs) $(GNOME_DATADIR)/gnome/apps/Graphics; \
++ $(INSTALL_DATA) Terraform.desktop $(GNOME_DATADIR)/gnome/apps/Graphics; \
+ $(mkinstalldirs) $(GNOME_DATADIR)/pixmaps; \
+ $(INSTALL_DATA) terraform.png $(GNOME_DATADIR)/pixmaps; \
+ fi
diff --git a/misc/terraform/files/patch-docs::Makefile.in b/misc/terraform/files/patch-docs::Makefile.in
new file mode 100644
index 000000000..e20c77a80
--- /dev/null
+++ b/misc/terraform/files/patch-docs::Makefile.in
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig Thu Apr 25 01:16:48 2002
++++ docs/Makefile.in Tue May 6 00:06:13 2003
+@@ -205,7 +205,7 @@
+ install-exec-am:
+ install-exec: install-exec-am
+
+-install-data-am: install-dataDATA
++install-data-am:
+ install-data: install-data-am
+
+ install-am: all-am
diff --git a/misc/terraform/pkg-descr b/misc/terraform/pkg-descr
new file mode 100644
index 000000000..e75da9f81
--- /dev/null
+++ b/misc/terraform/pkg-descr
@@ -0,0 +1,12 @@
+Terraform is an open source interactive height field generation and
+manipulation program, giving you the ability to generate random terrain and
+transform it. It uses the GNOME desktop platform and thus has a (more or less)
+consistent graphical user interface which doesn't require use of the command
+line.
+
+Terraform allows you to generate random terrain using a number of algorithms
+and then selectiveley change the terrain using a variety of transformations.
+Where possible, the transformations provide a real-time preview, giving you
+instant feedback on the effect of any parameter changes.
+
+WWW: http://terraform.sourceforge.net/
diff --git a/misc/terraform/pkg-plist b/misc/terraform/pkg-plist
new file mode 100644
index 000000000..a345881e7
--- /dev/null
+++ b/misc/terraform/pkg-plist
@@ -0,0 +1,98 @@
+bin/terraform
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.sgml
+%%PORTDOCS%%%%DOCSDIR%%/README.sgml
+%%PORTDOCS%%%%DOCSDIR%%/UsersGuide.sgml
+%%PORTDOCS%%%%DOCSDIR%%/i18n.txt
+share/gnome/apps/Graphics/Terraform.desktop
+share/gnome/help/terraform/C/faq.html
+share/gnome/help/terraform/C/hacking.html
+share/gnome/help/terraform/C/index.html
+share/gnome/help/terraform/C/mainwindow.png
+share/gnome/help/terraform/C/povray.png
+share/gnome/help/terraform/C/templates.html
+share/gnome/help/terraform/C/terrainwindow.png
+share/gnome/help/terraform/C/topic.dat
+share/gnome/help/terraform/C/tutorial.html
+share/gnome/help/terraform/C/wire.png
+share/gnome/help/terraform/fr/faq.html
+share/gnome/help/terraform/fr/hacking.html
+share/gnome/help/terraform/fr/index.html
+share/gnome/help/terraform/fr/templates.html
+share/gnome/help/terraform/fr/topic.dat
+share/gnome/help/terraform/fr/tutorial.html
+share/pixmaps/terraform.png
+share/pixmaps/terraform/add.xpm
+share/pixmaps/terraform/arrow.xpm
+share/pixmaps/terraform/circle.xpm
+share/pixmaps/terraform/crop.xpm
+share/pixmaps/terraform/die.xpm
+share/pixmaps/terraform/gnome-question.png
+share/pixmaps/terraform/rectangle.xpm
+share/pixmaps/terraform/replace.xpm
+share/pixmaps/terraform/seed.xpm
+share/pixmaps/terraform/subtract.xpm
+share/pixmaps/terraform/terraform_logo.xpm
+share/pixmaps/terraform/zoom.xpm
+share/terraform/image_maps/moon_moon.png
+share/terraform/image_maps/sky_test_320x180.tga
+share/terraform/include/atmospheres/earth_fog.inc
+share/terraform/include/atmospheres/earth_haze_fast.inc
+share/terraform/include/atmospheres/earth_haze_slow.inc
+share/terraform/include/atmospheres/fog_ground.inc
+share/terraform/include/atmospheres/rainbow.inc
+share/terraform/include/defaults.inc
+share/terraform/include/earth_textures/earth_canyon_landscape.inc
+share/terraform/include/earth_textures/earth_desert_landscape.inc
+share/terraform/include/earth_textures/earth_green_landscape.inc
+share/terraform/include/earth_textures/earth_mountain_landscape.inc
+share/terraform/include/generic_land.inc
+share/terraform/include/generic_river.inc
+share/terraform/include/river_texture.inc
+share/terraform/include/skies/earth_regular_sky.inc
+share/terraform/include/skies/earth_static_sky.inc
+share/terraform/include/skies/include/clouds_01.inc
+share/terraform/include/skies/include/clouds_02.inc
+share/terraform/include/skies/include/clouds_03.inc
+share/terraform/include/skies/include/clouds_04.inc
+share/terraform/include/skies/include/clouds_05.inc
+share/terraform/include/skies/include/clouds_06.inc
+share/terraform/include/skies/include/clouds_07.inc
+share/terraform/include/skies/include/lights_standard.inc
+share/terraform/include/skies/include/lights_toymodel.inc
+share/terraform/include/skies/include/skycolor_earth.inc
+share/terraform/include/skies/include/stars_01.inc
+share/terraform/include/skies/include/stars_02.inc
+share/terraform/include/skies/include/stars_03.inc
+share/terraform/include/skies/include/stars_04.inc
+share/terraform/include/skies/include/stars_05.inc
+share/terraform/include/skies/include/stars_06.inc
+share/terraform/include/skies/mapped_sky.inc
+share/terraform/include/water/earth_water.inc
+share/terraform/objects/fern.gif
+share/terraform/objects/fern.inc
+share/terraform/objects/monolith.inc
+share/terraform/objects/tree_1.inc
+share/terraform/objects/tree_2.inc
+share/terraform/objects/tree_3.inc
+share/terraform/objects/tree_4.gif
+share/terraform/objects/tree_4.inc
+share/terraform/objects/tree_5.gif
+share/terraform/objects/tree_5.inc
+share/terraform/objects/tree_6.gif
+share/terraform/objects/tree_6.inc
+share/locale/fr/LC_MESSAGES/terraform.mo
+share/locale/nl/LC_MESSAGES/terraform.mo
+@dirrm share/terraform/objects
+@dirrm share/terraform/include/water
+@dirrm share/terraform/include/skies/include
+@dirrm share/terraform/include/skies
+@dirrm share/terraform/include/earth_textures
+@dirrm share/terraform/include/atmospheres
+@dirrm share/terraform/include
+@dirrm share/terraform/image_maps
+@dirrm share/terraform
+@dirrm share/pixmaps/terraform
+@dirrm share/gnome/help/terraform/fr
+@dirrm share/gnome/help/terraform/C
+@dirrm share/gnome/help/terraform
+%%PORTDOCS%%@dirrm %%DOCSDIR%%