- 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.
29 lines
575 B
Makefile
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>
|