1
0
forked from ports/contrib

p5-term-readkey: picked up droped port

This commit is contained in:
Danny Rawlins 2008-03-18 21:37:23 +11:00
parent 2040c83c1a
commit d28eeb9cf3

View File

@ -1,8 +1,7 @@
# Description: Perl Terminal Readkey Library.
# URL: http://search.cpan.org/~jstowe/TermReadKey-2.30/
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: Stoyan Zhekov zhware at hotpop dot com
#
# URL: http://search.cpan.org/~jstowe/TermReadKey-2.30/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Stoyan Zhekov zhware at hotpop dot com
# Depends on: perl
name=p5-term-readkey
@ -15,17 +14,16 @@ build() {
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make install DESTDIR=$PKG
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG \
-name .packlist -or \
find $PKG \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name autosplit.ix -or \
-name perllocal.pod | xargs rm
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
chown -R root:root $PKG
}