29 lines
766 B
Plaintext
29 lines
766 B
Plaintext
# Template file for 'indent'
|
|
pkgname=indent
|
|
version=2.2.10
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--docdir=/usr/share/doc/indent"
|
|
short_desc="indent can be used to make code easier to read"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
homepage="http://www.gnu.org/s/indent/"
|
|
license="GPL-3"
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639
|
|
|
|
pre_configure() {
|
|
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
|
|
}
|
|
|
|
post_build() {
|
|
# manpages are not created properly, so recreate it
|
|
unset CC LD AR AS RANLIB CPP CFLAGS CPPFLAGS LDFLAGS
|
|
cd man
|
|
rm indent.1
|
|
make CC=cc LD=cc CFLAGS= LDFLAGS= clean all
|
|
}
|
|
|
|
post_install() {
|
|
rm $DESTDIR/usr/bin/texinfo2man
|
|
}
|