You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.8 KiB
Tcl
50 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup perl5 1.0
|
|
|
|
name naturaldocs
|
|
version 1.52
|
|
revision 5
|
|
categories textproc devel
|
|
license AGPL-3
|
|
maintainers nomaintainer
|
|
description Documentation system for several programming languages
|
|
long_description Natural Docs is an open-source documentation generator for multiple \
|
|
programming languages. You document your code in a natural syntax \
|
|
that reads like plain English. Natural Docs then scans your code \
|
|
and builds high-quality HTML documentation from it.
|
|
|
|
supported_archs noarch
|
|
platforms any
|
|
|
|
homepage http://www.naturaldocs.org/
|
|
master_sites sourceforge:project/naturaldocs/Stable%20Releases/${version}/
|
|
distname NaturalDocs-${version}
|
|
use_zip yes
|
|
extract.mkdir yes
|
|
|
|
checksums rmd160 92b6420cd4450f787bb7170e39cfe8e56b27bfb2 \
|
|
sha256 3f13c99e15778afe6c5555084a083f856e93567b31b08acd1fd81afb10082681 \
|
|
size 460793
|
|
|
|
perl5.branches 5.34
|
|
|
|
depends_lib port:perl${perl5.major}
|
|
|
|
post-patch {
|
|
reinplace -locale C s|/usr/bin/perl|${perl5.bin}|g ${worksrcpath}/NaturalDocs
|
|
file attributes ${worksrcpath}/NaturalDocs -permissions +x
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
file copy ${worksrcpath} ${destroot}${prefix}/lib/
|
|
ln -sf ${prefix}/lib/NaturalDocs-${version}/NaturalDocs ${destroot}${prefix}/bin/
|
|
file mkdir ${destroot}${perl5.lib}
|
|
ln -sf ${prefix}/lib/NaturalDocs-${version}/Modules/NaturalDocs ${destroot}${perl5.lib}/
|
|
}
|