freebsd-ports/devel/p5-Path-Class/Makefile
Yen-Ming Lee 1ed1b09b07 - simplify dependency
- bump PORTREVISION
2008-08-31 02:53:01 +00:00

39 lines
805 B
Makefile

# New ports collection makefile for: Path::Class
# Date created: 2004-07-25
# Whom: Elvis Chiang <elvis@sslab.cs.ccu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= Path-Class
PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Cross-platform path specification manipulation
PERL_MODBUILD= yes
MAN3= Path::Class.3 \
Path::Class::File.3 \
Path::Class::Dir.3
.if !defined(NOPORTDOCS)
PORTDOCS= Changes README
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500803
RUN_DEPENDS+= p5-PathTools>=0.87:${PORTSDIR}/devel/p5-PathTools
.endif
.include <bsd.port.post.mk>