You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name aspectj
|
|
version 1.6.2
|
|
categories java lang devel
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
description seamless aspect-oriented extension to the Java language
|
|
long_description {*}${description}
|
|
|
|
homepage http://www.eclipse.org/aspectj/
|
|
master_sites http://download.eclipse.org/tools/aspectj/ \
|
|
http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/aspectj/
|
|
checksums sha1 5312911e7db01c78f74dbb2b9d7820c55bfd095f
|
|
use_zip yes
|
|
extract.suffix .jar
|
|
|
|
extract.mkdir yes
|
|
post-extract {
|
|
file copy ${filespath}/ajc.sh ${worksrcpath}
|
|
}
|
|
|
|
configure {
|
|
reinplace "s|__LIBDIR__|${prefix}/share/java|g" ${worksrcpath}/ajc.sh
|
|
}
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/java \
|
|
${destroot}${prefix}/share/doc
|
|
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath} README-AspectJ.html LICENSE-AspectJ.html \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath}/lib aspectjlib.jar aspectjrt.jar \
|
|
aspectjtools.jar aspectjweaver.jar ${destroot}${prefix}/share/java
|
|
xinstall -m 755 ${worksrcpath}/ajc.sh ${destroot}${prefix}/bin/ajc
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url ${homepage}/downloads.php
|
|
livecheck.regex aspectj-(\[0-9\\.\]+)\\.jar
|