mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
82fc70fd02
Approved by: portmgr (blanket)
28 lines
588 B
Makefile
28 lines
588 B
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Class-Contract
|
|
PORTVERSION= 1.14
|
|
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
|
|
PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
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>
|