freebsd-ports/devel/p5-Mouse/Makefile
Adam Weinberger f9184b491c Update to 2.4.5 and freshen. Turns out this port has been outdated for
months, but it wasn't being picked up because they stuck a 'v' before
the version for.... reasons I'm sure.

- Remove the pkg-message advising installing MRO::Compat, which is a
  no-op on perl > 5.9.5
- Add stuff to TEST_DEPENDS to enable the full test suite
- Add NO_ARCH
- Strip the library
- Rewrite pkg-descr with the currently-used text, which is clearer
- While there, update WWW to metacpan
2015-09-18 04:25:55 +00:00

42 lines
1.3 KiB
Makefile

# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
# $FreeBSD$
PORTNAME= Mouse
PORTVERSION= 2.4.5
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SYOHEX
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Moose minus the antlers
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Module-Build-XSUtil>=0:${PORTSDIR}/devel/p5-Module-Build-XSUtil
TEST_DEPENDS= p5-Declare-Constraints-Simple>=0:${PORTSDIR}/devel/p5-Declare-Constraints-Simple \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
p5-Locale-US>=0:${PORTSDIR}/misc/p5-Locale-US \
p5-Params-Coerce>=0:${PORTSDIR}/devel/p5-Params-Coerce \
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-LeakTrace>=0:${PORTSDIR}/devel/p5-Test-LeakTrace \
p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \
p5-URI>=0:${PORTSDIR}/net/p5-URI
USES= perl5
USE_PERL5= modbuild
NO_ARCH= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Mouse/Mouse.so
.include <bsd.port.mk>