source: trunk/dports/devel/sglib/Portfile

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

sglib: license, noarch, update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 941 bytes
Line 
1# $Id: Portfile 104565 2013-03-28 16:37:36Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    sglib
6version                 1.0.0
7categories              devel
8# homepage says any OSI-approved license may be chosen
9license                 Permissive
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13description             useful macros for manipulating common data structures
14long_description        sglib is a library defining useful macros manipulating \
15                                        common data structures.
16
17homepage                http://sglib.sourceforge.net/
18master_sites    http://xref-tech.com/sglib/
19extract.suffix  .tgz
20checksums               md5 1067e1533f85fbd144892ee45dbc19cd
21
22use_configure   no
23
24build                   {}
25
26destroot        {
27        xinstall -m 644 ${worksrcpath}/sglib.h ${destroot}${prefix}/include/
28        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
29        file copy ${worksrcpath}/samples \
30                ${destroot}${prefix}/share/doc/${name}/examples
31        xinstall -m 644 -W ${worksrcpath} doc/GenerateDoc doc/index.html \
32                doc/index.html.sss doc/sssi README \
33                ${destroot}${prefix}/share/doc/${name}
34}
Note: See TracBrowser for help on using the repository browser.