aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-MimeInfo/Makefile
blob: 4c0dd97394f23a46dc6c2ae1660743ad9f200fce (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
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    devel/p5-File-MimeInfo
# Date created:             Aug 21 2004
# Whom:                 Rong-En Fan <rafan@infor.org>
#
# $FreeBSD$
#

PORTNAME=   File-MimeInfo
PORTVERSION=    0.13
PORTREVISION=   0
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX=  p5-

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

BUILD_DEPENDS=  ${SITE_PERL}/File/BaseDir.pm:${PORTSDIR}/devel/p5-File-BaseDir\
        ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN1=       mimetype.1 mimeopen.1
MAN3=       File::MimeInfo::Applications.3 \
        File::MimeInfo::Cookbook.3 \
        File::MimeInfo::Magic.3 \
        File::MimeInfo::Rox.3 \
        File::MimeInfo.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
IGNORE= newer perl version required. Install lang/perl5 or lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>