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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | set nsmodule nsdbpg |
---|
7 | name naviserver-${nsmodule} |
---|
8 | version 4.99.8 |
---|
9 | revision 0 |
---|
10 | categories www |
---|
11 | maintainers wu.ac.at:neumann |
---|
12 | description PostgreSQL driver for NaviServer |
---|
13 | long_description \ |
---|
14 | PostgreSQL driver interface for NaviServer |
---|
15 | homepage https://bitbucket.org/naviserver/nsdbpg/overview |
---|
16 | platforms darwin |
---|
17 | license MPL-1.1 |
---|
18 | |
---|
19 | distname ${name}-${version} |
---|
20 | distfiles naviserver-${version}-modules.tar.gz |
---|
21 | |
---|
22 | master_sites \ |
---|
23 | sourceforge:project/naviserver/naviserver/${version} |
---|
24 | |
---|
25 | checksums \ |
---|
26 | md5 ef2966934440e4b2164f910d0aeb717b \ |
---|
27 | sha1 6b6ae0316f3674e31f4f056f88d4c34f664378e4 \ |
---|
28 | rmd160 acedf83b1dedc835b686b6b7ad9b831cac19303b |
---|
29 | |
---|
30 | set postgresql postgresql94 |
---|
31 | |
---|
32 | depends_lib port:tcl port:naviserver port:${postgresql} |
---|
33 | set nsdir ${prefix}/ns |
---|
34 | worksrcdir modules/${nsmodule} |
---|
35 | |
---|
36 | use_configure no |
---|
37 | build.pre_args \ |
---|
38 | NAVISERVER=${nsdir} \ |
---|
39 | PGLIB=${prefix}/lib/${postgresql}/ \ |
---|
40 | PGINCLUDE=${prefix}/include/${postgresql}/ |
---|
41 | |
---|
42 | destroot.pre_args NAVISERVER=${nsdir} DESTDIR=${destroot} |
---|
43 | destroot.post_args install |
---|
44 | destroot.violate_mtree yes |
---|
45 | pre-destroot { |
---|
46 | # Create the basic directory structure for "make install" in $destroot |
---|
47 | xinstall -d ${destroot}/${nsdir}/bin |
---|
48 | } |
---|