blob: 8e29510532822f5cfc70d2cf84209b86eaed6d58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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>
|