Skip to content

Commit

Permalink
indent: Rename to gindent
Browse files Browse the repository at this point in the history
  • Loading branch information
larryv committed Nov 24, 2016
1 parent 6b9a1bf commit bfd4097
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 45 deletions.
50 changes: 50 additions & 0 deletions devel/gindent/Portfile
@@ -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.
65 changes: 20 additions & 45 deletions devel/indent/Portfile
@@ -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

0 comments on commit bfd4097

Please sign in to comment.