forked from ports/contrib
28 lines
767 B
Plaintext
28 lines
767 B
Plaintext
# Description: Automatic text wrapping and reformatting
|
|
# URL: http://search.cpan.org/~dconway/Text-Autoformat/
|
|
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
|
# Packager: Han Boetes <han@mijncomputer.nl>
|
|
# Depends on: p5-text-reform
|
|
# Nice to have: p5-tex-hyphen
|
|
|
|
name=p5-text-autoformat
|
|
version=1.13
|
|
release=1
|
|
source="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Text-Autoformat-$version.tar.gz"
|
|
|
|
build()
|
|
{
|
|
cd Text-Autoformat-$version
|
|
perl Makefile.PL
|
|
make
|
|
make DESTDIR=$PKG install
|
|
# Remove perlcrap
|
|
find $PKG \
|
|
-name .packlist -or \
|
|
-name '*.bs' -or \
|
|
-name autosplit.ix -or \
|
|
-name perllocal.pod | xargs rm
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
}
|