source: trunk/dports/devel/gmsl/Portfile

Last change on this file was 114113, checked in by jmr@…, 4 years ago

gmsl: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 114113 2013-11-29 21:49:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            gmsl
6version         1.0.0
7revision        0
8categories      devel
9license         GPL-2+
10maintainers     nomaintainer
11description     GNU Make Standard Library
12long_description        \
13        The GNU Make Standard Library (GMSL) is a collection of         \
14        functions implemented using native GNU Make functionality       \
15        that provide list and string manipulation, integer arithmetic,  \
16        associative arrays, stacks, and debugging facilities.
17homepage        http://gmsl.sourceforge.net
18master_sites    sourceforge
19platforms       darwin
20supported_archs noarch
21distname        ${name}
22checksums       md5 3a4957d0dea86f2e08d22f97e484ae9e                    \
23                sha1 ff1493ac5affde0d20b11b0f07b1e9480dccd65e
24patch           {
25        reinplace "s|include __${name}|include ${prefix}\/etc\/__${name}|g" \
26                ${workpath}/${name}
27}
28use_configure   no
29build           {}
30destroot {
31        xinstall -m 644 -c ${workpath}/${name} ${destroot}${prefix}/etc/
32        xinstall -m 644 -c ${workpath}/__${name} ${destroot}${prefix}/etc/
33}
34post-install {
35        ui_msg  "Add following to your Makefile(s):"
36        ui_msg  ""
37        ui_msg  "  if \[ -f ${prefix}/etc/${name} ]; then"
38        ui_msg  "    include ${prefix}/etc/${name}"
39        ui_msg  "  fi"
40        ui_msg  ""
41}
Note: See TracBrowser for help on using the repository browser.