Skip to content
Permalink
Browse files

new port games/svinepalsen

"I came here with a simple dream. A dream of killing all humans."
Space Invaders game - the other way round;

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4345 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 28, 2003
1 parent 365a070 commit b7cc67e3a9a8fce3c40011140311601bdcf2e6c1
Showing with 62 additions and 0 deletions.
  1. +62 −0 games/svinepalsen/Portfile
@@ -0,0 +1,62 @@
# $Id: Portfile,v 1.1 2003/12/28 22:45:52 mww Exp $

PortSystem 1.0

name svinepalsen
version 0.2.1
categories games
platforms darwin
maintainers mww@opendarwin.org
description Space Invaders style arcade game
long_description In Svinepalsen, the year is 2223 and the population of \
space has begun. You are tentacled creature from \
Nurobi Gernash on a mission to reach the home planet \
of a race called humans. You are to deliver one \
message to all nations of Earth: 'There must be \
security for all or no one is secure'. The mission \
fails and you are forced to make an example of the \
human insolence. With your vastly superior ship you \
must destroy all resistance. You must kill them all or \
there will be retaliation.

homepage http://svinepalsen.sourceforge.net/
master_sites sourceforge
extract.suffix .tar.bz2
use_bzip2 yes
distfiles ${name}-src-${version}${extract.suffix} \
${name}-data-${version}${extract.suffix}
checksums ${name}-src-${version}${extract.suffix} \
md5 1c80abb76d139c51051e84ee79042349 \
${name}-data-${version}${extract.suffix} \
md5 51580dffcfdc8c9301d653145cd4bc75

depends_lib lib:libsdl:libsdl \
lib:libsdl_mixer:libsdl_mixer \
lib:libsdl_image:libsdl_image \
lib:libSDL_ttf:libsdl_ttf \
lib:libsmpeg:smpeg

configure.dir ${workpath}/${name}
configure.env CPPFLAGS='-I${prefix}/include -I${prefix}/include/smpeg' \
LDFLAGS='-L${prefix}/lib'

post-configure {
reinplace "s|-lSDL_ttf|-lSDL_ttf -lsmpeg|g" \
${configure.dir}/src/Makefile
reinplace "s|data/|${prefix}/share/${name}/|g" \
${configure.dir}/src/CEnemyBase.cc \
${configure.dir}/src/svinepalsen.cc
}

build.dir ${configure.dir}
build.env ${configure.env}

destroot.dir ${build.dir}

post-destroot {
file mkdir ${destroot}${prefix}/share/ \
${destroot}${prefix}/share/doc/${name}
file copy ${workpath}/data ${destroot}${prefix}/share/${name}
file copy ${build.dir}/AUTHORS ${build.dir}/README ${build.dir}/TODO \
${destroot}${prefix}/share/doc/${name}
}

0 comments on commit b7cc67e

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