Ticket #23143: Portfile

File Portfile, 1.7 KB (added by drkp (Dan Ports), 14 years ago)
Line 
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
4PortSystem 1.0
5
6name                activemq
7version             5.3.0
8
9categories          java
10maintainers         nomaintainer
11description         a messaging and Integration Patterns provider
12long_description    Apache ActiveMQ is the most popular and powerful open \
13                    source messaging and Integration Patterns provider.   \
14                    Apache ActiveMQ is fast, supports many Cross Language \
15                    Clients and Protocols, comes with easy to use         \
16                    Enterprise Integration Patterns and many advanced     \
17                    features while fully supporting JMS 1.1 and J2EE 1.4.
18
19platforms           darwin
20homepage            http://activemq.apache.org/
21master_sites        apache
22master_sites.mirror_subdir ${name}/apache-${name}/${version}
23distname            apache-${name}-${version}-bin
24worksrcdir          apache-${name}-${version}
25checksums           md5     f4b88a2b4ffd21cb804cdbd4f2e0152f \
26                    sha1    750abb2bf40f930818b904ec21041f15e78bd5f7 \
27                    rmd160  95cf49e5a1cb58bffa792b91e423c5cb188ffef7
28
29livecheck.type      regex
30livecheck.url       http://activemq.apache.org/download.html
31livecheck.regex     ActiveMQ (\[\\w.\]+) Release
32
33depends_lib         bin:java:kaffe
34
35use_configure       no
36
37build               { }
38
39set installdir      ${prefix}/share/java/${name}
40
41destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/java/
43    file copy ${worksrcpath} ${destroot}${installdir}
44
45    # link wrapper script
46    ln -s ${installdir}/bin/macosx/activemq ${destroot}${prefix}/bin
47}