aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-MimeInfo/Makefile
blob: bec00fdb6abe9d550a0a410bc36e0aa97c981bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$

PORTNAME=   File-MimeInfo
PORTVERSION=    0.16
PORTREVISION=   1
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= rafan@FreeBSD.org
COMMENT=    Determine file type

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 \
        ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info

USES=       perl5
USE_PERL5=  modbuild

regression-test:
    cd ${WRKSRC} && ${PERL5} ${PL_BUILD} test

.include <bsd.port.mk>