blob: 9cd6206cdb89b4f6ec8bd0f0e7d31cd4d27dad1b (
plain) (
blame)
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
|
# 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>
|