aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-02-29 17:23:43 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-02-29 17:23:43 +0000
commit0f96249ede1f00f27c4dfe5318da5c036c32927d (patch)
tree12caa467955c18cc36ed91b3540d89da152db1e6 /devel/p5-Curses
parent07041f9ec2f9be45b7fd9fa99fa23e41eaa0d8ae (diff)
downloadports-0f96249ede1f00f27c4dfe5318da5c036c32927d.tar.gz
ports-0f96249ede1f00f27c4dfe5318da5c036c32927d.zip
Notes
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r--devel/p5-Curses/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
index 460be1e172cd..c6373d583b32 100644
--- a/devel/p5-Curses/Makefile
+++ b/devel/p5-Curses/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Curses
PORTVERSION= 1.21
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,11 +17,18 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module for terminal screen handling and optimization
PERL_CONFIGURE= yes
+CONFIGURE_ARGS= PANELS MENUS FORMS
+CONFIGURE_ENV= CURSES_CFLAGS="-I${WRKSRC}/usr/include/ncurses"\
+ CURSES_LDFLAGS="-L/usr/lib/ -lncurses"
MAN3= Curses.3
pre-configure:
@${LN} -sf ${WRKSRC}/hints/c-freebsd.ncurses.h \
${WRKSRC}/c-config.h
+ @${MKDIR} -p ${WRKSRC}/usr/include/ncurses
+.for i in form.h ncurses.h menu.h panel.h
+ @${LN} -fs /usr/include/${i} ${WRKSRC}/usr/include/ncurses/${i}
+.endfor
.include <bsd.port.mk>