1
0
forked from ports/contrib

27 lines
661 B
Plaintext
Raw Normal View History

2016-03-08 22:36:16 +11:00
# Description: The World-Wide Web library for Perl.
# URL: https://metacpan.org/release/libwww-perl
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2008-04-11 16:56:01 +10:00
# Depends on: p5-html-parser p5-uri
2006-11-16 03:27:10 +10:00
name=p5-libwww
2022-05-31 23:35:36 +02:00
version=6.66
2006-11-16 03:27:10 +10:00
release=1
2021-03-08 14:11:21 +11:00
source=(https://www.cpan.org/modules/by-module/LWP/OALDERS/libwww-perl-$version.tar.gz)
2006-11-16 03:27:10 +10:00
build() {
2008-04-11 16:56:01 +10:00
cd libwww-perl-$version
2019-08-31 12:03:47 +10:00
perl Makefile.PL --aliases INSTALLDIRS=vendor
2008-04-11 16:56:01 +10:00
make
make DESTDIR=$PKG install
2008-07-14 00:03:32 +10:00
# Remove perlcrap
find $PKG -type f \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
2006-11-16 03:27:10 +10:00
}