[36733] trunk/dports/multimedia/smpeg

mww at macports.org mww at macports.org
Tue May 13 06:39:04 PDT 2008


Revision: 36733
          http://trac.macosforge.org/projects/macports/changeset/36733
Author:   mww at macports.org
Date:     2008-05-13 06:39:04 -0700 (Tue, 13 May 2008)

Log Message:
-----------
-try macports mirror first (before freebsd)
-please lint (rename Portfiles, ..)
-simplify/clarify platform statements (selection of g++-x.x as CC)

Modified Paths:
--------------
    trunk/dports/multimedia/smpeg/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/smpeg/files/patch-Makefile.in.diff
    trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c.diff
    trunk/dports/multimedia/smpeg/files/patch-glmovie.c.diff
    trunk/dports/multimedia/smpeg/files/patch-smpeg.h.diff

Removed Paths:
-------------
    trunk/dports/multimedia/smpeg/files/patch-Makefile.in
    trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c
    trunk/dports/multimedia/smpeg/files/patch-glmovie.c
    trunk/dports/multimedia/smpeg/files/patch-smpeg.h

Modified: trunk/dports/multimedia/smpeg/Portfile
===================================================================
--- trunk/dports/multimedia/smpeg/Portfile	2008-05-13 12:32:01 UTC (rev 36732)
+++ trunk/dports/multimedia/smpeg/Portfile	2008-05-13 13:39:04 UTC (rev 36733)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+
 name		smpeg
 version		0.4.4
 revision	6
@@ -12,8 +13,8 @@
 			library programmed by Loki entertainment and others
 
 homepage	http://www.lokigames.com/development/smpeg.php3
-master_sites	ftp://ftp.lokigames.com/pub/open-source/smpeg/ freebsd \
-		macports macports:lt:lt
+master_sites	ftp://ftp.lokigames.com/pub/open-source/smpeg/ \
+		macports macports:lt:lt freebsd
 distfiles-append	ltconfig13:lt ltmain13:lt
 extract.only	${distname}${extract.suffix}
 
@@ -23,7 +24,8 @@
 
 depends_lib	port:libsdl
 
-patchfiles	patch-smpeg.h patch-glmovie-tile.c patch-glmovie.c patch-Makefile.in
+patchfiles	patch-smpeg.h.diff patch-glmovie-tile.c.diff \
+		patch-glmovie.c.diff patch-Makefile.in.diff
 post-patch {
 	file copy -force ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
 	file copy -force ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
@@ -38,17 +40,10 @@
 		--enable-shared=no
 
 configure.cc	g++
+platform darwin 7 { configure.cc /usr/bin/g++-3.3 }
+platform darwin 8 { configure.cc /usr/bin/g++-4.0 }
+platform darwin 9 { configure.cc /usr/bin/g++-4.0 }
 
-platform darwin 7 {
-	configure.cc	/usr/bin/g++-3.3
-	configure.cxx	/usr/bin/g++-3.3
-}
-
-platform darwin 8 {
-	configure.cc	/usr/bin/g++-4.0
-	configure.cxx	/usr/bin/g++-4.0
-}
-
 set libname	libsmpeg.${version}.dylib
 set ln	"ln -s ${libname}"
 post-destroot {

Deleted: trunk/dports/multimedia/smpeg/files/patch-Makefile.in
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-Makefile.in	2008-05-13 12:32:01 UTC (rev 36732)
+++ trunk/dports/multimedia/smpeg/files/patch-Makefile.in	2008-05-13 13:39:04 UTC (rev 36733)
@@ -1,21 +0,0 @@
---- work/smpeg-0.4.4/Makefile.in	2001-06-18 22:59:14.000000000 +0200
-+++ Makefile.in	2005-09-30 08:56:31.000000000 +0200
-@@ -195,7 +195,7 @@
- SOURCES = $(libsmpeg_la_SOURCES) $(plaympeg_SOURCES) $(gtv_SOURCES) $(glmovie_SOURCES)
- OBJECTS = $(libsmpeg_la_OBJECTS) $(plaympeg_OBJECTS) $(gtv_OBJECTS) $(glmovie_OBJECTS)
- 
--all: all-redirect
-+all: all-redirect libsmpeg.$(VERSION).dylib
- .SUFFIXES:
- .SUFFIXES: .S .c .cpp .lo .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-@@ -283,6 +283,9 @@
- libsmpeg.la: $(libsmpeg_la_OBJECTS) $(libsmpeg_la_DEPENDENCIES)
- 	$(CXXLINK) -rpath $(libdir) $(libsmpeg_la_LDFLAGS) $(libsmpeg_la_OBJECTS) $(libsmpeg_la_LIBADD) $(LIBS)
- 
-+libsmpeg.$(VERSION).dylib:
-+	$(CXX) -dynamiclib MPEG*.o smpeg.o audio/*.o video/*.o -o $@ -current_version $(VERSION) -compatibility_version $(VERSION) -install_name $(libdir)/$@ $(LIBS)
-+
- mostlyclean-binPROGRAMS:
- 
- clean-binPROGRAMS:

Copied: trunk/dports/multimedia/smpeg/files/patch-Makefile.in.diff (from rev 36732, trunk/dports/multimedia/smpeg/files/patch-Makefile.in)
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/multimedia/smpeg/files/patch-Makefile.in.diff	2008-05-13 13:39:04 UTC (rev 36733)
@@ -0,0 +1,21 @@
+--- work/smpeg-0.4.4/Makefile.in	2001-06-18 22:59:14.000000000 +0200
++++ Makefile.in	2005-09-30 08:56:31.000000000 +0200
+@@ -195,7 +195,7 @@
+ SOURCES = $(libsmpeg_la_SOURCES) $(plaympeg_SOURCES) $(gtv_SOURCES) $(glmovie_SOURCES)
+ OBJECTS = $(libsmpeg_la_OBJECTS) $(plaympeg_OBJECTS) $(gtv_OBJECTS) $(glmovie_OBJECTS)
+ 
+-all: all-redirect
++all: all-redirect libsmpeg.$(VERSION).dylib
+ .SUFFIXES:
+ .SUFFIXES: .S .c .cpp .lo .o .s
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+@@ -283,6 +283,9 @@
+ libsmpeg.la: $(libsmpeg_la_OBJECTS) $(libsmpeg_la_DEPENDENCIES)
+ 	$(CXXLINK) -rpath $(libdir) $(libsmpeg_la_LDFLAGS) $(libsmpeg_la_OBJECTS) $(libsmpeg_la_LIBADD) $(LIBS)
+ 
++libsmpeg.$(VERSION).dylib:
++	$(CXX) -dynamiclib MPEG*.o smpeg.o audio/*.o video/*.o -o $@ -current_version $(VERSION) -compatibility_version $(VERSION) -install_name $(libdir)/$@ $(LIBS)
++
+ mostlyclean-binPROGRAMS:
+ 
+ clean-binPROGRAMS:

Deleted: trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c	2008-05-13 12:32:01 UTC (rev 36732)
+++ trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c	2008-05-13 13:39:04 UTC (rev 36733)
@@ -1,11 +0,0 @@
---- glmovie-tile.c	2000-11-10 18:51:30.000000000 +0100
-+++ glmovie-tile.c.new	2005-08-16 01:33:10.000000000 +0200
-@@ -16,7 +16,7 @@
-  */
- 
- #include "glmovie.h"
--#include <malloc.h>
-+#include <stdlib.h>
- #include <string.h>
- 
- /* Some data is redundant at this stage. */

Copied: trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c.diff (from rev 36732, trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c)
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c.diff	                        (rev 0)
+++ trunk/dports/multimedia/smpeg/files/patch-glmovie-tile.c.diff	2008-05-13 13:39:04 UTC (rev 36733)
@@ -0,0 +1,11 @@
+--- glmovie-tile.c	2000-11-10 18:51:30.000000000 +0100
++++ glmovie-tile.c.new	2005-08-16 01:33:10.000000000 +0200
+@@ -16,7 +16,7 @@
+  */
+ 
+ #include "glmovie.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+ 
+ /* Some data is redundant at this stage. */

Deleted: trunk/dports/multimedia/smpeg/files/patch-glmovie.c
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-glmovie.c	2008-05-13 12:32:01 UTC (rev 36732)
+++ trunk/dports/multimedia/smpeg/files/patch-glmovie.c	2008-05-13 13:39:04 UTC (rev 36733)
@@ -1,10 +0,0 @@
---- glmovie.c	2000-10-04 19:38:03.000000000 +0200
-+++ glmovie.c.new	2005-08-16 01:34:49.000000000 +0200
-@@ -6,7 +6,6 @@
- #include "smpeg.h"
- #include "SDL.h"
- #include <stdlib.h>
--#include <malloc.h>
- #include <string.h>
- #include <unistd.h>
- #include "glmovie.h"

Copied: trunk/dports/multimedia/smpeg/files/patch-glmovie.c.diff (from rev 36732, trunk/dports/multimedia/smpeg/files/patch-glmovie.c)
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-glmovie.c.diff	                        (rev 0)
+++ trunk/dports/multimedia/smpeg/files/patch-glmovie.c.diff	2008-05-13 13:39:04 UTC (rev 36733)
@@ -0,0 +1,10 @@
+--- glmovie.c	2000-10-04 19:38:03.000000000 +0200
++++ glmovie.c.new	2005-08-16 01:34:49.000000000 +0200
+@@ -6,7 +6,6 @@
+ #include "smpeg.h"
+ #include "SDL.h"
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include "glmovie.h"

Deleted: trunk/dports/multimedia/smpeg/files/patch-smpeg.h
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-smpeg.h	2008-05-13 12:32:01 UTC (rev 36732)
+++ trunk/dports/multimedia/smpeg/files/patch-smpeg.h	2008-05-13 13:39:04 UTC (rev 36733)
@@ -1,11 +0,0 @@
---- smpeg.h	2001-04-04 23:58:18.000000000 +0200
-+++ smpeg.h	2005-05-24 21:03:05.000000000 +0200
-@@ -34,7 +34,7 @@
- 
- #define SMPEG_MAJOR_VERSION      0
- #define SMPEG_MINOR_VERSION      4
--#define SMPEG_PATCHLEVEL         3
-+#define SMPEG_PATCHLEVEL         4
- 
- typedef struct {
-         Uint8 major;

Copied: trunk/dports/multimedia/smpeg/files/patch-smpeg.h.diff (from rev 36732, trunk/dports/multimedia/smpeg/files/patch-smpeg.h)
===================================================================
--- trunk/dports/multimedia/smpeg/files/patch-smpeg.h.diff	                        (rev 0)
+++ trunk/dports/multimedia/smpeg/files/patch-smpeg.h.diff	2008-05-13 13:39:04 UTC (rev 36733)
@@ -0,0 +1,11 @@
+--- smpeg.h	2001-04-04 23:58:18.000000000 +0200
++++ smpeg.h	2005-05-24 21:03:05.000000000 +0200
+@@ -34,7 +34,7 @@
+ 
+ #define SMPEG_MAJOR_VERSION      0
+ #define SMPEG_MINOR_VERSION      4
+-#define SMPEG_PATCHLEVEL         3
++#define SMPEG_PATCHLEVEL         4
+ 
+ typedef struct {
+         Uint8 major;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080513/1027c489/attachment-0001.html


More information about the macports-changes mailing list