source: trunk/dports/databases/shsql/Portfile

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

shsql: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 104426 2013-03-25 15:00:33Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            shsql
6version         1.28
7categories      databases textproc
8license         GPL-2+
9platforms       darwin
10maintainers     nomaintainer
11description     standalone SQL database that stores data in ascii text files
12long_description        SHSQL is a standalone SQL database that stores data in \
13                        ascii text files. It has a small memory footprint and \
14                        code size and can be embedded directly into \
15                        applications - there is no server process. SHSQL is a \
16                        pared-down SQL implementation but retains useful \
17                        features such as timeout record locking and search \
18                        engine comparison operators. A shsql database can be \
19                        updated via SQL, or by editing data files with a text \
20                        editor. Applications link to the supplied "C" language \
21                        API. There is also a command-line SQL utility.
22
23homepage        http://quisp.sourceforge.net/sqlman/html/shsql_home.html
24master_sites    http://quisp.sourceforge.net/download/
25dist_subdir     quisp
26distname        quisp[strsed ${version} {g/\.//}]
27checksums       md5     e587266af100b46f68550affb900fdc4 \
28                sha1    2869b95fd264b848073423667d6efe9a19cf2bcf \
29                rmd160  4dae3a94250e5973f8ea4628f8d62044ac14fd4e
30
31use_configure   no
32
33build.dir       ${worksrcpath}/sqlsrc
34build.target
35build.args      CC=${configure.cc}
36
37destroot        {
38        xinstall -m 755 ${worksrcpath}/bin/newproject.sh \
39                ${destroot}${prefix}/bin/create_shsqldb
40        xinstall -m 755 -W ${worksrcpath}/bin buildix catofs dataedit dbcat \
41                shsql shsql_alter shsql_create shsql_fldsel \
42                shsql_join tabdef tabmaint tabo ${destroot}${prefix}/bin
43        xinstall -m 644 ${worksrcpath}/lib/libshsql.a \
44                ${destroot}${prefix}/lib
45        xinstall -m 644 -W ${worksrcpath}/sqlman/manshsql dataedit.1 dbcat.1 \
46                shsql.1 tabdef.1 tabmaint.1 ${destroot}${prefix}/share/man/man1
47}
Note: See TracBrowser for help on using the repository browser.