1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/p5-Class-Contract/Makefile
2021-04-06 16:31:07 +02:00

29 lines
563 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
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>