diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-08-21 00:01:59 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-08-21 00:01:59 +0000 |
commit | e3aab5688e24f9c2939809841184b14b8bc601b1 (patch) | |
tree | 594b9ea3a032cc3cd292842c90461279d0fdaa84 /biology/L-Breeder | |
parent | 4113022f4650f7163a88631383c947d48fb2c476 (diff) | |
download | ports-e3aab5688e24f9c2939809841184b14b8bc601b1.tar.gz ports-e3aab5688e24f9c2939809841184b14b8bc601b1.zip |
Notes
Diffstat (limited to 'biology/L-Breeder')
-rw-r--r-- | biology/L-Breeder/Makefile | 53 | ||||
-rw-r--r-- | biology/L-Breeder/distinfo | 1 | ||||
-rw-r--r-- | biology/L-Breeder/files/patch-GL_Lsystem::Makefile | 11 | ||||
-rw-r--r-- | biology/L-Breeder/files/patch-LBreeder::Makefile | 14 | ||||
-rw-r--r-- | biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp | 7 | ||||
-rw-r--r-- | biology/L-Breeder/pkg-comment | 1 | ||||
-rw-r--r-- | biology/L-Breeder/pkg-descr | 7 | ||||
-rw-r--r-- | biology/L-Breeder/pkg-plist | 1 |
8 files changed, 95 insertions, 0 deletions
diff --git a/biology/L-Breeder/Makefile b/biology/L-Breeder/Makefile new file mode 100644 index 000000000000..a1b0c57698c0 --- /dev/null +++ b/biology/L-Breeder/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: L-Breeder +# Date created: 30 May 2002 +# Whom: David Yeske <dyeske@yahoo.com> et al +# +# $FreeBSD$ +# + +PORTNAME= L-Breeder +PORTVERSION= 1.0 +CATEGORIES= biology +MASTER_SITES= http://pixie.oum.ox.ac.uk/L-Breeder/ +DISTNAME= LBreeder +EXTRACT_SUFX= .tgz + +MAINTAINER= dyeske@yahoo.com + +LIB_DEPENDS= wx_gtk_gl.2:${PORTSDIR}/x11-toolkits/wxgtk + +WRKSRC= ${WRKDIR}/LBreeder/LBreeder +PATCH_WRKSRC= ${WRKDIR}/LBreeder + +USE_X_PREFIX= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 +USE_MESA= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +pre-everything:: +.ifndef(WITH_OPTIMIZED_CFLAGS) + @${ECHO_MSG} ">>>" + @${ECHO_MSG} ">>> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS." + @${ECHO_MSG} ">>> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'" + @${ECHO_MSG} ">>>" +.endif + +post-patch: +# uphold C{C,XX} + @${FIND} ${WRKDIR} -type f -name Makefile | \ + ${XARGS} -n 10 ${REINPLACE_CMD} \ + -e 's|g\+\+|${CXX}|;s|gcc|${CC}|' +# both uphold CFLAGS and protect ARCHs where greater than -O is not +# safe +.ifndef(WITH_OPTIMIZED_CFLAGS) + @${REINPLACE_CMD} -e 's|-O2|"${CFLAGS}"|' ${WRKSRC}/Makefile +.else + @${REINPLACE_CMD} -e 's|-O2|"${CFLAGS} -O2"|' ${WRKSRC}/Makefile +.endif + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/L-Breeder ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/biology/L-Breeder/distinfo b/biology/L-Breeder/distinfo new file mode 100644 index 000000000000..ccf2697910b7 --- /dev/null +++ b/biology/L-Breeder/distinfo @@ -0,0 +1 @@ +MD5 (LBreeder.tgz) = a9ce83f618217cf29fdf816f35ac7400 diff --git a/biology/L-Breeder/files/patch-GL_Lsystem::Makefile b/biology/L-Breeder/files/patch-GL_Lsystem::Makefile new file mode 100644 index 000000000000..7231f69e801f --- /dev/null +++ b/biology/L-Breeder/files/patch-GL_Lsystem::Makefile @@ -0,0 +1,11 @@ +--- GL_Lsystem/Makefile.orig Wed Aug 16 08:08:27 2000 ++++ GL_Lsystem/Makefile Tue Jan 22 00:58:31 2002 +@@ -2,6 +2,8 @@ + + .PHONY : clean all + ++CFLAGS+= -I${X11BASE}/include ++ + all : GLGraphics.o GL_Lsystem.o trackball.o Lstring Lturtle + + GLGraphics.o : GLGraphics.cpp GLGraphics.h ../Extras/vect3.h ../Lsystem/UIBaseClass.h diff --git a/biology/L-Breeder/files/patch-LBreeder::Makefile b/biology/L-Breeder/files/patch-LBreeder::Makefile new file mode 100644 index 000000000000..8d1cd228ca89 --- /dev/null +++ b/biology/L-Breeder/files/patch-LBreeder::Makefile @@ -0,0 +1,14 @@ +--- LBreeder/Makefile.orig Wed Jul 31 13:58:18 2002 ++++ LBreeder/Makefile Wed Jul 31 13:58:30 2002 +@@ -14,10 +14,7 @@ + export SHOW_DEBUGGING_MESSAGES; $(MAKE) all + + L-Breeder : $(objects) +- g++ -lwx_gtk -ldl -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk \ +--rdynamic -lgmodule -lgthread -lglib -lpthread -lXext -lX11 /usr/lib/libGL.a \ +-/usr/lib/libGLU.so /usr/lib/libm.a \ +--lwx_gtk_gl $(objects) -o L-Breeder ++ g++ `${GTK_CONFIG} gthread --libs` -lwx_gtk -lGL -lGLU -lwx_gtk_gl $(objects) -o L-Breeder + + StaticApp : $(objects) + g++ /usr/lib/libwx_gtk-2.1.so -ldl -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk \ diff --git a/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp new file mode 100644 index 000000000000..85ce96cf789f --- /dev/null +++ b/biology/L-Breeder/files/patch-LBreeder::MyTextFrame.cpp @@ -0,0 +1,7 @@ +--- LBreeder/MyTextFrame.cpp.orig Mon Jan 21 02:05:11 2002 ++++ LBreeder/MyTextFrame.cpp Mon Jan 21 02:05:26 2002 +@@ -1,3 +1,4 @@ ++#include "wx/button.h" + #include "wx/filedlg.h" + #include "MyTextFrame.h" + #include "Ltypes.h" //for debugging messages diff --git a/biology/L-Breeder/pkg-comment b/biology/L-Breeder/pkg-comment new file mode 100644 index 000000000000..2d2b670048c4 --- /dev/null +++ b/biology/L-Breeder/pkg-comment @@ -0,0 +1 @@ +Allows you to display and breed L-system forms diff --git a/biology/L-Breeder/pkg-descr b/biology/L-Breeder/pkg-descr new file mode 100644 index 000000000000..b8285a021ccb --- /dev/null +++ b/biology/L-Breeder/pkg-descr @@ -0,0 +1,7 @@ +L-Breeder is a program which allows you to display, breed, and +genetically engineered L-system forms. + +WWW: http://pixie.oum.ox.ac.uk/L-Breeder/ + +- David +dyeske@yahoo.com diff --git a/biology/L-Breeder/pkg-plist b/biology/L-Breeder/pkg-plist new file mode 100644 index 000000000000..c7914e4f7d81 --- /dev/null +++ b/biology/L-Breeder/pkg-plist @@ -0,0 +1 @@ +bin/L-Breeder |