# $Id$ PortSystem 1.0 name svinepalsen version 0.2.1 categories games platforms darwin maintainers nomaintainer 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 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 port:libsdl \ port:libsdl_mixer \ port:libsdl_image \ port:libsdl_ttf \ port:smpeg configure.dir ${workpath}/${name} configure.cppflags-append '-I${prefix}/include/smpeg' configure.args --disable-sdltest 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 CPPFLAGS="-I${prefix}/include -I${prefix}/include/smpeg" LDFLAGS="-L${prefix}/lib" 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} }