Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This matches the naming used by FreeBSD [1], NetBSD [2], and OpenBSD [3]. [1]: https://svnweb.freebsd.org/ports/tags/RELEASE_11_0_0/devel/gindent [2]: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/gindent/?only_with_tag=pkgsrc-2016Q3 [3]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/devel/gindent/?only_with_tag=OPENBSD_6_0
- Loading branch information
Showing
6 changed files
with
70 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# $Id$ | ||
|
||
PortSystem 1.0 | ||
|
||
name gindent | ||
version 2.2.10 | ||
license GPL-3 | ||
categories devel | ||
maintainers nomaintainer | ||
description C language source code formatting program | ||
long_description \ | ||
GNU indent changes the appearance of a C program by inserting or \ | ||
deleting whitespace according to a plethora of options. Some canned\ | ||
styles of formatting are supported as well. GNU indent is a \ | ||
descendant of BSD indent. GNU indent does NOT work for C++, only C. | ||
|
||
homepage http://www.gnu.org/software/indent/ | ||
platforms darwin | ||
master_sites gnu:indent | ||
distname indent-${version} | ||
checksums md5 be35ea62705733859fbf8caf816d8959 \ | ||
sha1 20fa8a7a4af6670c3254c8b87020291c3db37ed1 \ | ||
rmd160 66164db3f28ddc9726a56fb184795a335aac34b0 | ||
|
||
depends_build port:gperf | ||
depends_lib port:gettext port:libiconv | ||
|
||
post-extract { | ||
file delete ${worksrcpath}/src/gperf.c | ||
file delete ${worksrcpath}/src/gperf-cc.c | ||
} | ||
|
||
patchfiles automake.patch \ | ||
patch-man__Makefile.am \ | ||
patch-man__texinfo2man.c \ | ||
patch-src__output.c | ||
|
||
use_autoreconf yes | ||
autoreconf.args -fvi | ||
autoreconf.env ACLOCAL="aclocal -Iaclocal" | ||
|
||
configure.args --docdir=${prefix}/share/doc/${name} \ | ||
--program-prefix=gnu | ||
|
||
post-destroot { | ||
# Documentation. | ||
move ${destroot}${prefix}/share/info/indent.info \ | ||
${destroot}${prefix}/share/info/gindent.info | ||
file rename ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,20 @@ | ||
# $Id$ | ||
|
||
PortSystem 1.0 | ||
|
||
name indent | ||
version 2.2.10 | ||
license GPL-3 | ||
categories devel | ||
maintainers nomaintainer | ||
description C language source code formatting program | ||
long_description \ | ||
GNU indent changes the appearance of a C program by inserting or \ | ||
deleting whitespace according to a plethora of options. Some canned\ | ||
styles of formatting are supported as well. GNU indent is a \ | ||
descendant of BSD indent. GNU indent does NOT work for C++, only C. | ||
|
||
homepage http://www.gnu.org/software/indent/ | ||
platforms darwin | ||
master_sites gnu | ||
checksums md5 be35ea62705733859fbf8caf816d8959 \ | ||
sha1 20fa8a7a4af6670c3254c8b87020291c3db37ed1 \ | ||
rmd160 66164db3f28ddc9726a56fb184795a335aac34b0 | ||
|
||
depends_build port:gperf | ||
depends_lib port:gettext port:libiconv | ||
|
||
post-extract { | ||
file delete ${worksrcpath}/src/gperf.c | ||
file delete ${worksrcpath}/src/gperf-cc.c | ||
} | ||
|
||
patchfiles automake.patch \ | ||
patch-man__Makefile.am \ | ||
patch-man__texinfo2man.c \ | ||
patch-src__output.c | ||
|
||
use_autoreconf yes | ||
autoreconf.args -fvi | ||
autoreconf.env ACLOCAL="aclocal -Iaclocal" | ||
|
||
configure.args --program-prefix=gnu | ||
|
||
post-destroot { | ||
file rename ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc | ||
} | ||
# -*- 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 | ||
|
||
name indent | ||
replaced_by gindent | ||
PortGroup obsolete 1.0 | ||
|
||
version 2.2.10 | ||
revision 1 | ||
license GPL-3 | ||
|
||
description C language source code formatting program | ||
long_description GNU indent changes the appearance of a C program \ | ||
by inserting or deleting whitespace according to \ | ||
a plethora of options. Some canned styles of \ | ||
formatting are supported as well. GNU indent is \ | ||
a descendant of BSD indent. GNU indent does NOT \ | ||
work for C++, only C. | ||
homepage http://www.gnu.org/software/indent |