source: trunk/dports/shells/luash/Portfile @ 103238

Last change on this file since 103238 was 103238, checked in by and.damore@…, 6 years ago

port luash: adding missing revision bump since adding doc files, removing hardcoded version number in master_sites, setting dist_subdir since distfile's name is unversioned

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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: Portfile 103238 2013-02-19 08:58:03Z $
3PortSystem          1.0
5name                    luash
6version                 0.9
7revision                1
8license                 AGPL-3
9categories              shells lua
10maintainers             and.damore openmaintainer
11description             shell written in Lua/C++
12long_description        luash is a shell written in Lua/C++ that allow you to run command using Lua syntax
14platforms               darwin
15master_sites  ${version}
16distname                ${name}
17dist_subdir             ${name}/${version}
18use_bzip2               yes
19checksums               md5     67bbb8985166579686361fe840e016c0 \
20                        sha1    ef1d56843f19a29b96f6d5ce8f983b54074b955f \
21                        rmd160  165d88850e8d068d7586f1785b36dd20c9c8ce37
22patchfiles              patch-makefile.diff
23worksrcdir              ${name}
24use_configure           no
25depends_lib             port:lua \
26                        port:lua-luafilesystem
27build.args-append       CC=${} \
28                        CXX=${configure.cxx} \
29                        CPP=${configure.cpp}
30destroot.args           PREFIX=${prefix}
31post-destroot {
32    xinstall -d -m 755 ${destroot}$prefix/share/doc/${name}
33    xinstall    -m 644 -W ${worksrcpath} COPYING README ${destroot}$prefix/share/doc/${name}
Note: See TracBrowser for help on using the repository browser.