Skip to content
Permalink
Browse files

-added missing 'platforms' key

-replaced 'system' cmds with 'file' equivalent

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4191 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 10, 2003
1 parent 9878d72 commit 7e8f0779d8424db7d463737aa2ac4f5172ead058
Showing with 7 additions and 4 deletions.
  1. +7 −4 graphics/smpeg/Portfile
@@ -1,11 +1,12 @@
# $Id: Portfile,v 1.5 2003/11/17 21:19:58 jkh Exp $
# $Id: Portfile,v 1.6 2003/12/10 22:10:16 mww Exp $

PortSystem 1.0
name smpeg
version 0.4.4
revision 2
categories devel
maintainers mww@opendarwin.org
platforms darwin
description a general purpose MPEG video/audio player/library
long_description smpeg is a general purpose MPEG video/audio player and \
library programmed by Loki entertainment and others
@@ -25,8 +26,8 @@ checksums ${distname}${extract.suffix} \
depends_lib lib:libSDL:libsdl

post-patch {
system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh"
file copy -force ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
file copy -force ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
}

configure.args --without-x \
@@ -35,6 +36,8 @@ configure.args --without-x \
--disable-static \
--mandir=${prefix}/share/man

post-configure { reinplace "s|gcc|g++|g" ${worksrcpath}/Makefile }
post-configure {
reinplace "s|gcc|g++|g" ${worksrcpath}/Makefile
}

build.target

0 comments on commit 7e8f077

Please sign in to comment.
You can’t perform that action at this time.