most recent changes, diff for smpeg
Index: multimedia/smpeg/Portfile
--- multimedia/smpeg/Portfile (revision 36732)
+++ multimedia/smpeg/Portfile (revision 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 {