forked from ports/contrib
p5-xml-writer: clean Pkgfile
This commit is contained in:
parent
fdcee0f055
commit
956968203c
@ -17,13 +17,13 @@ build() {
|
|||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
# Remove perlcrap
|
# Remove perlcrap
|
||||||
find $PKG -type f \
|
find $PKG -type f \( \
|
||||||
\( -name '.packlist' -or \
|
-name '.packlist' -o \
|
||||||
-name '*.bs' -or \
|
-name '*.bs' -o \
|
||||||
-name 'autosplit.ix' -or \
|
-name 'autosplit.ix' -o \
|
||||||
-name 'perllocal.pod' \) -delete
|
-name 'perllocal.pod' \) -delete
|
||||||
|
|
||||||
# Remove empty directories
|
# Remove empty directories
|
||||||
find $PKG -depth -empty -exec rm -rf {} \;
|
find $PKG -depth -empty -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user