freebsd-ports/devel/p5-Class-Contract/Makefile
Adam Weinberger 9e00ce3f62 Some OCD cleanups on some of the perl@ ports.
- Remove dependencies in core
- Put testing depends in TEST_DEPENDS
- Remove unnecessary bsd.port.options.mk inclusions
- Remove checks for Perl versions that no longer exist in the ports tree
- Sort plists, some of which were so jumbled that I have to assume
  the plist was randomized before committing

A lot of the plist changes in this commit are moving PERL5_MAN3 after
SITE_PERL. It's repo churn now, but it makes updating the ports later
far easier.
2015-03-12 23:00:02 +00:00

29 lines
575 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= Class-Contract
PORTVERSION= 1.14
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Design-by-Contract OO in Perl
USES= perl5 dos2unix
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= demo.pl
pre-configure:
@${MKDIR} ${WRKSRC}/examples
${MV} ${WRKSRC}/demo.pl ${WRKSRC}/examples
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>