Ticket #18946: Portfile.2

File Portfile.2, 1012 bytes (added by nerdling (Jeremy Lavergne), 16 years ago)

added reinplaces for prefix and mkdir

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                xjump
7version             2.7.5
8categories          games
9maintainers         gmail.com:pierreetienne.meunier
10description         xjump
11long_description    The classical XJump platform game
12homepage
13
14platforms           darwin
15depends_lib         port:xorg-libX11
16
17master_sites        http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/x/xjump/
18
19distfiles           xjump_2.7.5.orig.tar.gz
20checksums           md5 3e8d09c6b8162b7e4380f8a77eb595dc \
21                    sha1 7cf7f1269ef2cd0640575f924f6e7a39668939f2
22
23patchfiles          patch-src-Makefile.diff patch-src-main.c.diff patch-src-record.c.diff
24post-patch {
25    reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/Makefile
26    reinplace "s|mkdir|mkdir -p|g" ${worksrcpath}/Makefile
27}
28
29worksrcdir          xjump-2.7.5.orig
30use_configure       no
31
32build.target        ""