- Add NO_ARCH

- Use USES=shared-mime-info
- Sort PLIST
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-09-17 17:13:32 +00:00
parent 59783c5d63
commit acdbd9db12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397181
2 changed files with 5 additions and 6 deletions

View file

@ -15,11 +15,10 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-File-BaseDir>=0.03:${PORTSDIR}/devel/p5-File-BaseDir \
p5-File-DesktopEntry>=0.04:${PORTSDIR}/devel/p5-File-DesktopEntry
RUN_DEPENDS= p5-File-BaseDir>=0.03:${PORTSDIR}/devel/p5-File-BaseDir \
p5-File-DesktopEntry>=0.04:${PORTSDIR}/devel/p5-File-DesktopEntry \
update-mime-database:${PORTSDIR}/misc/shared-mime-info
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USE_PERL5= configure
USES= perl5
USES= perl5 shared-mime-info
.include <bsd.port.mk>

View file

@ -5,10 +5,10 @@ bin/mimetype
%%SITE_PERL%%/File/MimeInfo/Cookbook.pod
%%SITE_PERL%%/File/MimeInfo/Magic.pm
%%SITE_PERL%%/File/MimeInfo/Rox.pm
%%PERL5_MAN1%%/mimeopen.1.gz
%%PERL5_MAN1%%/mimetype.1.gz
%%PERL5_MAN3%%/File::MimeInfo.3.gz
%%PERL5_MAN3%%/File::MimeInfo::Applications.3.gz
%%PERL5_MAN3%%/File::MimeInfo::Cookbook.3.gz
%%PERL5_MAN3%%/File::MimeInfo::Magic.3.gz
%%PERL5_MAN3%%/File::MimeInfo::Rox.3.gz
%%PERL5_MAN1%%/mimeopen.1.gz
%%PERL5_MAN1%%/mimetype.1.gz