# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                xjump
version             2.7.5
categories          games
maintainers         gmail.com:pierreetienne.meunier
description         xjump
long_description    The classical XJump platform game
homepage

platforms           darwin
depends_lib         port:xorg-libXaw

master_sites        http://www.gtlib.gatech.edu/pub/debian/pool/main/x/xjump/

distfiles           xjump_2.7.5.orig.tar.gz
checksums           md5 3e8d09c6b8162b7e4380f8a77eb595dc \
                    sha1 7cf7f1269ef2cd0640575f924f6e7a39668939f2

patchfiles          patch-src-Makefile.diff patch-src-main.c.diff patch-src-record.c.diff
post-patch {
    reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/Makefile
    reinplace "s|mkdir|mkdir -p|g" ${worksrcpath}/Makefile
}

worksrcdir          xjump-2.7.5.orig
use_configure       no

build.target        ""
