forked from ports/contrib
p5-xml-writer: adopted port
This commit is contained in:
parent
e753e91d09
commit
ba5f51a440
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36z8jMAwtGE3A8+xrcONI9gOYo/i3OxaMZI67Elz4eJY4B20fr34jAcQ4rrgutrFBCK3xBJjxt5NEDdA8VBR2gM=
|
||||
SHA256 (Pkgfile) = 8b1189ce4cf781f473359916d85c43016c0a67651b670b0387344ba8e364af82
|
||||
RWSagIOpLGJF3/hT7Fd0N0UBHCwn0Co4MfXwtqAedVJ9gSOVyRF7dvaH5uDqhyuArl/VPh9rtkpqEXo/2fnelO5S+ko54o9GMA8=
|
||||
SHA256 (Pkgfile) = a81be02c7eab1cced88443ab036906b1e8da0940482bfa62201100379c04e115
|
||||
SHA256 (.footprint) = df15a86e846f1bb348f54c7ffa7752e3588d17757f298a1fcde02da2bc0e494c
|
||||
SHA256 (XML-Writer-0.900.tar.gz) = 73c8f5bd3ecf2b350f4adae6d6676d52e08ecc2d7df4a9f089fa68360d400d1f
|
||||
|
@ -1,26 +1,26 @@
|
||||
# Description: Perl XML writer.
|
||||
# URL: https://metacpan.org/release/XML-Writer
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
|
||||
name=p5-xml-writer
|
||||
version=0.900
|
||||
release=1
|
||||
source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)
|
||||
source=(https://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd XML-Writer-$version
|
||||
cd XML-Writer-$version
|
||||
|
||||
perl Makefile.PL
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
make install DESTDIR=$PKG
|
||||
perl Makefile.PL
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -o \
|
||||
-name '*.bs' -o \
|
||||
-name 'autosplit.ix' -o \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -o \
|
||||
-name '*.bs' -o \
|
||||
-name 'autosplit.ix' -o \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -delete
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -delete
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user