1
0
forked from ports/contrib

p5-cairo: new maintainer

This commit is contained in:
John Vogel 2018-02-22 02:53:17 -05:00
parent 6c856a50ee
commit 04ce5a62ba
2 changed files with 11 additions and 15 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wo2U1tKon2MvRwg0/DK7A+3aSIOFhb2JvhXydSLHYYAJ+/7diEUAu04YMUT6aQDXe0kfAqCzOgolyJag14wJQo=
SHA256 (Pkgfile) = cc14e5c3848ce4832fea5539bb9b11231ec41e5b67b8f7cd85015a72c03c52df
RWSagIOpLGJF34lGShSW5ssOP4aroysWdecWXmETD1TraZvZOHHvtu/8gLcbzkdE84Vm7l67veh0ydMLthS7o2aMYJBre9j6pwM=
SHA256 (Pkgfile) = efa39a418dc9d1b1a8899c191940852fbb65d70710b4750d8ce89da782a86d15
SHA256 (.footprint) = 77d0293fb172be2b927551e07884d2ff59ba507a6395ea2fa18a819aec6b242c
SHA256 (Cairo-1.106.tar.gz) = e64803018bc7cba49e73e258547f5378cc4249797beafec524852140f49c45c4

View File

@ -1,8 +1,7 @@
# Description: Perl bindings for cairo
# URL: http://search.cpan.org/dist/Cairo/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on: cairo p5-glib
# URL: http://search.cpan.org/dist/Cairo/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Depends on: cairo p5-glib
name=p5-cairo
version=1.106
@ -10,15 +9,12 @@ release=1
source=(http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Cairo-$version.tar.gz)
build() {
cd Cairo-$version
perl Makefile.PL
cd Cairo-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make install DESTDIR=$PKG
make OPTIMIZE="$CFLAGS"
make install DESTDIR=$PKG
find $PKG \
-name perllocal.pod \
-o -name "*.bs" \
-o -name .packlist | xargs rm
find $PKG -empty | xargs rmdir -p ||:
find $PKG -name perllocal.pod -o -name "*.bs" -o -name .packlist | xargs rm
find $PKG -empty | xargs rmdir -p ||:
}