[35371] trunk/dports/editors

reiffert at macports.org reiffert at macports.org
Wed Mar 26 02:15:47 PDT 2008


Revision: 35371
          http://trac.macosforge.org/projects/macports/changeset/35371
Author:   reiffert at macports.org
Date:     2008-03-26 02:15:46 -0700 (Wed, 26 Mar 2008)

Log Message:
-----------
salasaga: Open Source eLearning IDE. Initial commit

Added Paths:
-----------
    trunk/dports/editors/salasaga/
    trunk/dports/editors/salasaga/Portfile
    trunk/dports/editors/salasaga/files/
    trunk/dports/editors/salasaga/files/patch-Makefile.diff
    trunk/dports/editors/salasaga/files/patch-salasaga_ide-Makefile.diff
    trunk/dports/editors/salasaga/files/patch-salasaga_ide-salasaga.c.diff
    trunk/dports/editors/salasaga/files/patch-salasaga_screencapture-Makefile.diff

Added: trunk/dports/editors/salasaga/Portfile
===================================================================
--- trunk/dports/editors/salasaga/Portfile	                        (rev 0)
+++ trunk/dports/editors/salasaga/Portfile	2008-03-26 09:15:46 UTC (rev 35371)
@@ -0,0 +1,35 @@
+# $Id$
+
+PortSystem	1.0
+
+name	salasaga
+version	0.8.0.dev-200803251321
+revision	0
+categories	editors
+platforms	darwin
+maintainers	nomaintainer
+description	An Integrated Development Environment for producing eLearning
+long_description	previously known as The Flame Project \
+	Imagine a free, easy to use GUI authoring environment that helps \
+	you create visually impressive and actually useful learning material. \
+	The short term goal for this project is to provide such \
+	an environment, and we're well on the way to a first release \
+	for doing that.
+homepage	http://www.salasaga.org/
+master_sites	sourceforge
+use_bzip2	yes
+checksums	md5 e489adbaf879fd26f5e6b5509105dcdb
+depends_lib	port:gtk2 port:pango port:libxml2 port:ming port:giflib \
+		port:libungif port:gconf port:libgnome port:autoconf
+worksrcdir	salasaga-0.8.0.dev
+use_autoconf	yes
+patchfiles	patch-Makefile.diff patch-salasaga_ide-salasaga.c.diff \
+	patch-salasaga_ide-Makefile.diff \
+	patch-salasaga_screencapture-Makefile.diff
+
+configure.ldflags-append	-L${prefix}/lib -L/usr/X11R6/lib
+configure.cflags-append	-I${prefix}/include -I/usr/X11R6/include
+post-patch {
+	reinplace "s|@@PREFIX@@|${prefix}|" salasaga_ide/salasaga.c
+
+}


Property changes on: trunk/dports/editors/salasaga/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/editors/salasaga/files/patch-Makefile.diff
===================================================================
--- trunk/dports/editors/salasaga/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/editors/salasaga/files/patch-Makefile.diff	2008-03-26 09:15:46 UTC (rev 35371)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2008-03-26 01:55:28.000000000 +0100
++++ Makefile	2008-03-26 01:58:58.000000000 +0100
+@@ -3,10 +3,10 @@
+ all: salasaga_screencapture/Makefile.config salasaga_ide/Makefile.config
+ 
+ salasaga_screencapture/Makefile.config:
+-	cd salasaga_screencapture; autoconf; ./configure --prefix=${prefix}; make
++	cd salasaga_screencapture; autoconf; CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPP="$(CPP)" CXX="$(CXX)" F90FLAGS="$(F90FLAGS)" LDFLAGS="$(LDFLAGS)" FCFLAGS="$(FCFLAGS)" OBJC="$(OBJC)" INSTALL="$(INSTALL)" OBJCFLAGS="$(OBJCFLAGS)" FFLAGS="$(FFLAGS)" CC="$(CC)" ./configure --prefix=${prefix}; make
+ 
+ salasaga_ide/Makefile.config:
+-	cd salasaga_ide; autoconf; ./configure --prefix=${prefix}; make
++	cd salasaga_ide; autoconf; CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPP="$(CPP)" CXX="$(CXX)" F90FLAGS="$(F90FLAGS)" LDFLAGS="$(LDFLAGS)" FCFLAGS="$(FCFLAGS)" OBJC="$(OBJC)" INSTALL="$(INSTALL)" OBJCFLAGS="$(OBJCFLAGS)" FFLAGS="$(FFLAGS)" CC="$(CC)" ./configure --prefix=${prefix}; make
+ 
+ install: salasaga_screencapture/Makefile.config salasaga_ide/Makefile.config
+ 	cd salasaga_screencapture; make install

Added: trunk/dports/editors/salasaga/files/patch-salasaga_ide-Makefile.diff
===================================================================
--- trunk/dports/editors/salasaga/files/patch-salasaga_ide-Makefile.diff	                        (rev 0)
+++ trunk/dports/editors/salasaga/files/patch-salasaga_ide-Makefile.diff	2008-03-26 09:15:46 UTC (rev 35371)
@@ -0,0 +1,61 @@
+--- salasaga_ide/Makefile.orig	2008-03-26 10:20:11.000000000 +0100
++++ salasaga_ide/Makefile	2008-03-26 10:21:22.000000000 +0100
+@@ -590,32 +590,32 @@
+ 	$(CC) $(CFLAGS) $(OFILES) $(LDFLAGS) $(LIBS) -o salasaga
+ 
+ install:
+-	$(INSTALL) -d $(bindir)
+-	$(INSTALL_PROGRAM) -m 0755 salasaga $(bindir)
+-	$(INSTALL) -d $(datadir)/applications/
+-	$(INSTALL_DATA) $(DESKTOP_FILE) $(datadir)/applications/
+-	$(INSTALL) -d $(datadir)/salasaga/icons/
+-	$(INSTALL) -d $(datadir)/salasaga/fonts/
+-	$(INSTALL) -d $(datadir)/salasaga/fonts/BitstreamVera
+-	$(INSTALL) -d $(datadir)/salasaga/fonts/BitstreamVera/fdb
+-	$(INSTALL) -d $(datadir)/pixmaps/
+-	cd images; $(INSTALL_DATA) $(ICON_MAIN) $(datadir)/salasaga/icons/
+-	cd images; $(INSTALL_DATA) $(ICON_PNG) $(datadir)/pixmaps/
+-	$(INSTALL) -d $(datadir)/salasaga/icons/scalable/
+-	cd images; $(INSTALL_DATA) $(ICONS_SCALABLE) $(datadir)/salasaga/icons/scalable/
+-	$(INSTALL) -d $(datadir)/salasaga/icons/scalable/control_bar/
+-	cd images; cd control_bar; $(INSTALL_DATA) $(ICONS_CONTROL_BAR_SCALABLE) $(datadir)/salasaga/icons/scalable/control_bar
+-	$(INSTALL) -d $(datadir)/salasaga/icons/scalable/pointers/
+-	cd images; cd pointers; $(INSTALL_DATA) $(MOUSE_SCALABLE) $(datadir)/salasaga/icons/scalable/pointers/
+-	$(INSTALL) -d $(datadir)/salasaga/icons/72x72/
+-	cd images; $(INSTALL_DATA) $(ICONS_PNG) $(datadir)/salasaga/icons/72x72/
+-	$(INSTALL) -d $(datadir)/salasaga/icons/72x72/control_bar/
+-	cd images; cd control_bar; $(INSTALL_DATA) $(ICONS_CONTROL_BAR_PNG) $(datadir)/salasaga/icons/72x72/control_bar
+-	$(INSTALL) -d $(datadir)/salasaga/icons/72x72/pointers/
+-	cd images; cd pointers; $(INSTALL_DATA) $(MOUSE_PNG) $(datadir)/salasaga/icons/72x72/pointers/
+-	cd fonts; cd BitstreamVera; cd fdb; $(INSTALL_DATA) $(FONT_BITSTREAM_VERA_FDB) $(datadir)/salasaga/fonts/BitstreamVera/fdb
+-	$(INSTALL) -d $(datadir)/salasaga/sounds/
+-	cd sounds; $(INSTALL_DATA) $(SOUNDS) $(datadir)/salasaga/sounds/
++	$(INSTALL) -d $(DESTDIR)$(bindir)
++	$(INSTALL_PROGRAM) -m 0755 salasaga $(DESTDIR)$(bindir)
++	$(INSTALL) -d $(DESTDIR)$(datadir)/applications/
++	$(INSTALL_DATA) $(DESKTOP_FILE) $(DESTDIR)$(datadir)/applications/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/fonts/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/fonts/BitstreamVera
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/fonts/BitstreamVera/fdb
++	$(INSTALL) -d $(DESTDIR)$(datadir)/pixmaps/
++	cd images; $(INSTALL_DATA) $(ICON_MAIN) $(DESTDIR)$(datadir)/salasaga/icons/
++	cd images; $(INSTALL_DATA) $(ICON_PNG) $(DESTDIR)$(datadir)/pixmaps/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/scalable/
++	cd images; $(INSTALL_DATA) $(ICONS_SCALABLE) $(DESTDIR)$(datadir)/salasaga/icons/scalable/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/scalable/control_bar/
++	cd images; cd control_bar; $(INSTALL_DATA) $(ICONS_CONTROL_BAR_SCALABLE) $(DESTDIR)$(datadir)/salasaga/icons/scalable/control_bar
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/scalable/pointers/
++	cd images; cd pointers; $(INSTALL_DATA) $(MOUSE_SCALABLE) $(DESTDIR)$(datadir)/salasaga/icons/scalable/pointers/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/72x72/
++	cd images; $(INSTALL_DATA) $(ICONS_PNG) $(DESTDIR)$(datadir)/salasaga/icons/72x72/
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/72x72/control_bar/
++	cd images; cd control_bar; $(INSTALL_DATA) $(ICONS_CONTROL_BAR_PNG) $(DESTDIR)$(datadir)/salasaga/icons/72x72/control_bar
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/icons/72x72/pointers/
++	cd images; cd pointers; $(INSTALL_DATA) $(MOUSE_PNG) $(DESTDIR)$(datadir)/salasaga/icons/72x72/pointers/
++	cd fonts; cd BitstreamVera; cd fdb; $(INSTALL_DATA) $(FONT_BITSTREAM_VERA_FDB) $(DESTDIR)$(datadir)/salasaga/fonts/BitstreamVera/fdb
++	$(INSTALL) -d $(DESTDIR)$(datadir)/salasaga/sounds/
++	cd sounds; $(INSTALL_DATA) $(SOUNDS) $(DESTDIR)$(datadir)/salasaga/sounds/
+ 
+ uninstall:
+ 	if [ -f "$(bindir)/salasaga" ]; then \

Added: trunk/dports/editors/salasaga/files/patch-salasaga_ide-salasaga.c.diff
===================================================================
--- trunk/dports/editors/salasaga/files/patch-salasaga_ide-salasaga.c.diff	                        (rev 0)
+++ trunk/dports/editors/salasaga/files/patch-salasaga_ide-salasaga.c.diff	2008-03-26 09:15:46 UTC (rev 35371)
@@ -0,0 +1,13 @@
+--- salasaga_ide/salasaga.c.orig	2008-03-26 09:37:11.000000000 +0100
++++ salasaga_ide/salasaga.c	2008-03-26 09:37:49.000000000 +0100
+@@ -287,8 +287,8 @@
+ 	// Check if the above directory exists
+ 	if (TRUE != g_file_test(icon_path->str, G_FILE_TEST_IS_DIR))
+ 	{
+-		// First guess of icon directory didn't work, lets try /usr/share/salasaga/icons next
+-		g_string_printf(icon_path, g_build_path(G_DIR_SEPARATOR_S, "/", "usr", "share", "salasaga", "icons", "72x72", NULL));
++		// First guess of icon directory didn't work, lets try @@PREFIX@@/share/salasaga/icons next
++		g_string_printf(icon_path, g_build_path(G_DIR_SEPARATOR_S, "@@PREFIX@@", "share", "salasaga", "icons", "72x72", NULL));
+ 
+ 		// Display debugging info if requested
+ 		if (debug_level)

Added: trunk/dports/editors/salasaga/files/patch-salasaga_screencapture-Makefile.diff
===================================================================
--- trunk/dports/editors/salasaga/files/patch-salasaga_screencapture-Makefile.diff	                        (rev 0)
+++ trunk/dports/editors/salasaga/files/patch-salasaga_screencapture-Makefile.diff	2008-03-26 09:15:46 UTC (rev 35371)
@@ -0,0 +1,13 @@
+--- salasaga_screencapture/Makefile.orig	2008-03-26 10:06:43.000000000 +0100
++++ salasaga_screencapture/Makefile	2008-03-26 10:07:15.000000000 +0100
+@@ -20,8 +20,8 @@
+ 	$(CC) $(CFLAGS) $(OFILES) $(LDFLAGS) $(LIBS) -o salasaga_screencapture
+ 
+ install:
+-	$(INSTALL) -d $(bindir)
+-	$(INSTALL_PROGRAM) -m 0755 salasaga_screencapture $(bindir)
++	$(INSTALL) -d $(DESTDIR)$(bindir)
++	$(INSTALL_PROGRAM) -m 0755 salasaga_screencapture $(DESTDIR)$(bindir)
+ 
+ uninstall:
+ 	if [ -f "$(bindir)/salasaga_screencapture" ]; then \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080326/fb5e2853/attachment.html 


More information about the macports-changes mailing list