From 47ecb222f08f081a1e972d025930c05880542bf6 Mon Sep 17 00:00:00 2001 From: jasper Date: Sun, 3 Oct 2010 15:21:13 +0000 Subject: [PATCH] - switch to MODCPAN_EXAMPLES --- math/p5-Math-MatrixReal/Makefile | 11 +++-------- misc/p5-Term-Animation/Makefile | 6 +----- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/math/p5-Math-MatrixReal/Makefile b/math/p5-Math-MatrixReal/Makefile index ce8acd316d7..1621f03a3ca 100644 --- a/math/p5-Math-MatrixReal/Makefile +++ b/math/p5-Math-MatrixReal/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2009/06/12 16:58:07 jasper Exp $ +# $OpenBSD: Makefile,v 1.3 2010/10/03 15:21:13 jasper Exp $ COMMENT = implement the data type "matrix of reals" DISTNAME = Math-MatrixReal-2.05 @@ -12,15 +12,10 @@ PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes -CPAN_AUTHOR = LETO - MODULES = cpan +MODCPAN_EXAMPLES= Yes +MODCPAN_EXAMPLES_DIST= example CONFIGURE_STYLE = modbuild -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Math-MatrixReal - ${INSTALL_DATA} ${WRKSRC}/example/*.pl \ - ${PREFIX}/share/examples/p5-Math-MatrixReal - .include diff --git a/misc/p5-Term-Animation/Makefile b/misc/p5-Term-Animation/Makefile index 44997e9386f..1920a18d5ac 100644 --- a/misc/p5-Term-Animation/Makefile +++ b/misc/p5-Term-Animation/Makefile @@ -14,12 +14,8 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MODULES= cpan +MODCPAN_EXAMPLES= Yes RUN_DEPENDS= ::devel/p5-Curses -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Term-Animation - ${INSTALL_DATA} ${WRKSRC}/examples/*.pl \ - ${PREFIX}/share/examples/p5-Term-Animation - .include