[122414] trunk/dports/games/nethack/Portfile
khindenburg at macports.org
khindenburg at macports.org
Tue Jul 22 07:00:35 PDT 2014
Revision: 122414
https://trac.macports.org/changeset/122414
Author: khindenburg at macports.org
Date: 2014-07-22 07:00:35 -0700 (Tue, 22 Jul 2014)
Log Message:
-----------
nethack: whitespace changes
Modified Paths:
--------------
trunk/dports/games/nethack/Portfile
Modified: trunk/dports/games/nethack/Portfile
===================================================================
--- trunk/dports/games/nethack/Portfile 2014-07-22 13:55:55 UTC (rev 122413)
+++ trunk/dports/games/nethack/Portfile 2014-07-22 14:00:35 UTC (rev 122414)
@@ -1,78 +1,78 @@
# -*- 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
# $Id$
-PortSystem 1.0
-name nethack
-version 3.4.3
-revision 2
-categories games
-maintainers nomaintainer
-description Classic dungeon adventure game.
-long_description \
- ${description}
-homepage http://nethack.sourceforge.net/
-platforms darwin freebsd
+PortSystem 1.0
-master_sites sourceforge
-distname ${name}-343-src
-extract.suffix .tgz
-checksums ${distfiles} md5 21479c95990eefe7650df582426457f9 \
+name nethack
+version 3.4.3
+revision 2
+categories games
+maintainers nomaintainer
+description Classic dungeon adventure game.
+long_description ${description}
+homepage http://nethack.sourceforge.net/
+platforms darwin freebsd
+
+master_sites sourceforge
+distname ${name}-343-src
+extract.suffix .tgz
+checksums ${distfiles} md5 21479c95990eefe7650df582426457f9 \
${distfiles} sha1 c26537093c38152bc0fbcec20468d975b35f59fd \
${distfiles} rmd160 42f600d24715a0b7e631b357c135761410b3ca95
-worksrcdir ${name}-${version}
+worksrcdir ${name}-${version}
## patch ##
patch.args -p1
-patchfiles patch-sys__unix__Makefile.doc \
- patch-sys__unix__Makefile.src \
- patch-sys__unix__Makefile.top \
- patch-win__tty__termcap.c
+patchfiles patch-sys__unix__Makefile.doc \
+ patch-sys__unix__Makefile.src \
+ patch-sys__unix__Makefile.top \
+ patch-win__tty__termcap.c
post-patch {
- reinplace "s|__PREFIX__|${prefix}|" \
- "${worksrcpath}/sys/unix/Makefile.doc" \
- "${worksrcpath}/sys/unix/Makefile.top"
+ reinplace "s|__PREFIX__|${prefix}|" \
+ "${worksrcpath}/sys/unix/Makefile.doc" \
+ "${worksrcpath}/sys/unix/Makefile.top"
}
## configure ##
-configure.dir ${worksrcpath}/sys/unix
-configure.cmd /bin/sh
-configure.pre_args setup.sh
+configure.dir ${worksrcpath}/sys/unix
+configure.cmd /bin/sh
+configure.pre_args setup.sh
## build ##
-build.args-append CFLAGS="-O2 -I../include"
+build.args-append CFLAGS="-O2 -I../include"
## destroot ##
pre-destroot {
- file mkdir "${destroot}${prefix}/share/man/man6"
- file mkdir "${destroot}${prefix}/share/nethackdir/save"
+ file mkdir "${destroot}${prefix}/share/man/man6"
+ file mkdir "${destroot}${prefix}/share/nethackdir/save"
}
-destroot.target install manpages
+destroot.target install manpages
destroot.keepdirs "${destroot}${prefix}/share/nethackdir/save/"
post-destroot {
- reinplace "s|${destroot}||" "${destroot}${prefix}/bin/nethack"
+ reinplace "s|${destroot}||" "${destroot}${prefix}/bin/nethack"
}
## variants ##
variant x11 {
- patchfiles-append \
- x11/patch-include__config.h \
- x11/patch-sys__unix__Makefile.src \
- x11/patch-sys__unix__Makefile.top
+ patchfiles-append \
+ x11/patch-include__config.h \
+ x11/patch-sys__unix__Makefile.src \
+ x11/patch-sys__unix__Makefile.top
}
variant autopickup_exceptions description { Automatically pick up things onto which you move } {
patchfiles-append \
patch-include__config.h
-}
+}
#variant paranoid {
# patch_sites-append http://www.netsonic.fi/~walker/nh/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140722/c120c210/attachment.html>
More information about the macports-changes
mailing list