aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/mercator/Makefile28
-rw-r--r--devel/mercator/distinfo2
-rw-r--r--devel/mercator/files/patch-Makefile.in19
-rw-r--r--devel/mercator/pkg-descr9
-rw-r--r--devel/mercator/pkg-plist25
6 files changed, 84 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a4b9fc26e723..8a278e663155 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -529,6 +529,7 @@
SUBDIR += maketool
SUBDIR += maven
SUBDIR += memcheck
+ SUBDIR += mercator
SUBDIR += meta-cvs
SUBDIR += mico
SUBDIR += mime
diff --git a/devel/mercator/Makefile b/devel/mercator/Makefile
new file mode 100644
index 000000000000..8d313bd0190e
--- /dev/null
+++ b/devel/mercator/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: mercator
+# Date created: 4 February 2005
+# Whom: Janni
+#
+# $FreeBSD$
+#
+
+PORTNAME= mercator
+PORTVERSION= 0.2.1
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.worldforge.org/pub/worldforge/libs/mercator/ \
+ http://purple.worldforge.org/downloads/libs/mercator/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= worldforge
+
+MAINTAINER= jannisan@t-online.de
+COMMENT= A procedural terrain library
+
+LIB_DEPENDS= wfmath-0.3.3:${PORTSDIR}/math/wfmath
+
+USE_GNOME= pkgconfig
+USE_LIBTOOL_VER=15
+INSTALLS_SHLIB= yes
+
+CXXFLAGS+= -include wchar.h
+CONFIGURE_ARGS+="CXXFLAGS=${CXXFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/devel/mercator/distinfo b/devel/mercator/distinfo
new file mode 100644
index 000000000000..dbabe48b9b9d
--- /dev/null
+++ b/devel/mercator/distinfo
@@ -0,0 +1,2 @@
+MD5 (mercator-0.2.1.tar.gz) = 43d93b09324b0b852aff1c157a53c031
+SIZE (mercator-0.2.1.tar.gz) = 238254
diff --git a/devel/mercator/files/patch-Makefile.in b/devel/mercator/files/patch-Makefile.in
new file mode 100644
index 000000000000..9dd8d4b3801f
--- /dev/null
+++ b/devel/mercator/files/patch-Makefile.in
@@ -0,0 +1,19 @@
+*** Makefile.in.orig Fri Feb 4 04:41:08 2005
+--- Makefile.in Fri Feb 4 04:41:28 2005
+***************
+*** 185,191 ****
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+ SUBDIRS = Mercator tests
+! pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = mercator-0.2.pc
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+--- 185,191 ----
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+ SUBDIRS = Mercator tests
+! pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = mercator-0.2.pc
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/devel/mercator/pkg-descr b/devel/mercator/pkg-descr
new file mode 100644
index 000000000000..fa1196922313
--- /dev/null
+++ b/devel/mercator/pkg-descr
@@ -0,0 +1,9 @@
+Mercator is a procedural terrain library. It is primarily aimed at terrain for
+multiplayer online games and forms one of the WorldForge
+(http://www.worldforge.org) core libraries. It is intended to be used as a
+terrain library on both the client, and the server.
+
+WWW: http://www.worldforge.org/dev/eng/libraries/mercator
+
+- Janni
+jannisan@t-online.de
diff --git a/devel/mercator/pkg-plist b/devel/mercator/pkg-plist
new file mode 100644
index 000000000000..c18ba54e4fc0
--- /dev/null
+++ b/devel/mercator/pkg-plist
@@ -0,0 +1,25 @@
+lib/libmercator-0.2.a
+lib/libmercator-0.2.so
+lib/libmercator-0.2.so.2
+include/Mercator-0.2/Mercator/Mercator.h
+include/Mercator-0.2/Mercator/Matrix.h
+include/Mercator-0.2/Mercator/Terrain.h
+include/Mercator-0.2/Mercator/TerrainMod.h
+include/Mercator-0.2/Mercator/TerrainMod_impl.h
+include/Mercator-0.2/Mercator/BasePoint.h
+include/Mercator-0.2/Mercator/Segment.h
+include/Mercator-0.2/Mercator/Buffer_impl.h
+include/Mercator-0.2/Mercator/Buffer.h
+include/Mercator-0.2/Mercator/Shader.h
+include/Mercator-0.2/Mercator/FillShader.h
+include/Mercator-0.2/Mercator/ThresholdShader.h
+include/Mercator-0.2/Mercator/DepthShader.h
+include/Mercator-0.2/Mercator/GrassShader.h
+include/Mercator-0.2/Mercator/Intersect.h
+include/Mercator-0.2/Mercator/Surface.h
+include/Mercator-0.2/Mercator/Plant.h
+include/Mercator-0.2/Mercator/Forest.h
+include/Mercator-0.2/Mercator/RandCache.h
+@dirrm include/Mercator-0.2/Mercator
+@dirrm include/Mercator-0.2
+libdata/pkgconfig/mercator-0.2.pc