freebsd-ports/textproc/p5-Time-Human/Makefile
Peter Pentchev 5bb118f306 Update to Time-Human 1.03 as per the PR.
While I'm here, add a 'test' Makefile target to run
the (trivial) test suite.

PR:		109050
Submitted by:	Li-Wen Hsu <lwhsu@lwhsu.org>
2007-02-16 16:20:09 +00:00

31 lines
684 B
Makefile

# New ports collection makefile for: p5-Time-Human
# Date created: July 24th, 2004
# Whom: Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Time-Human
PORTVERSION= 1.03
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Time
PKGNAMEPREFIX= p5-
MAINTAINER= roam@FreeBSD.org
COMMENT= Convert localtime() format to "speaking clock" time
PERL_CONFIGURE= yes
MAN3= Time::Human.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${PATCHDIR}/Human.pm-5005.patch
.endif
test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
.include <bsd.port.post.mk>