freebsd-ports/devel/p5-Eval-LineNumbers/Makefile
Sunpoet Po-Chuan Hsieh 346a8cd946 - Add p5-Eval-LineNumbers 0.31
Eval::LineNumbers adds a #line "this-file" 392 comment to hereis text that is
going to be eval'd so that error messages will point back to the right place.

Please note: when you embed \n in your code, it gets expanded in double-quote
hereis documents so it will mess up your line numbering. Use \\n instead when
you can.

WWW: http://search.cpan.org/dist/Eval-LineNumbers/

Feature safe:	yes
2012-03-12 18:11:02 +00:00

25 lines
578 B
Makefile

# New ports collection makefile for: p5-Eval-LineNumbers
# Date created: 2012-03-08
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Eval-LineNumbers
PORTVERSION= 0.31
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MUIR/modules
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Add line numbers to hereis blocks that contain perl source code
PERL_CONFIGURE= yes
MAN3= Eval::LineNumbers.3
post-patch:
@${REINPLACE_CMD} -e 's|Eval-LineNumbers|Eval::LineNumbers|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>