source: trunk/dports/www/mongoose/Portfile

Last change on this file was 86918, checked in by ryandesign@…, 6 years ago

mongoose: update to 3.0 (#30143, maintainer timeout); add universal variant and build for the right archs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 86918 2011-11-07 03:53:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            mongoose
6version         3.0
7categories      www
8maintainers     toby
9description     easy to use web server
10long_description \
11        Easy to use web server for Windows and UNIX. Mongoose provides simple \
12        and clean API for embedding it into existing programs. Targeting Web \
13        application developers, embedded system developers, and people who \
14        need to setup file sharing quickly.
15homepage        http://code.google.com/p/mongoose/
16platforms       darwin
17license         MIT
18
19master_sites    googlecode
20extract.suffix  .tgz
21
22checksums       rmd160  1e11c3d3015f316ad8e5722874035604be9e3a4c \
23                sha256  018a7201e4d548e11a30b97f78ce1a02414a2f462bd12957b2247fdd7e865e22
24
25worksrcdir      ${name}
26
27patchfiles      patch-Makefile
28
29post-patch {
30        reinplace s|__CFLAGS__|${configure.cflags}| ${worksrcpath}/Makefile
31}
32
33use_configure   no
34
35variant universal {}
36
37build.target    mac
38build.env       CC="${configure.cc} [get_canonical_archflags]"
39
40destroot {
41        xinstall -m 555 ${worksrcpath}/mongoose ${destroot}${prefix}/bin
42        xinstall -m 444 ${worksrcpath}/mongoose.1 ${destroot}${prefix}/share/man/man1
43}
44
45test.run        yes
46
47livecheck.distname default
Note: See TracBrowser for help on using the repository browser.