1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/p5-Class-Contract/Makefile
Adam Weinberger 82fc70fd02 Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by:	portmgr (blanket)
2014-07-03 23:57:07 +00:00

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>