From fa5325b18f5dee75b8577ca498070cab4d44de35 Mon Sep 17 00:00:00 2001 From: rafan Date: Fri, 29 Feb 2008 17:23:43 +0000 Subject: - Enable form, menu, and panel support Submitted by: Jeffrey Smith --- devel/p5-Curses/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'devel/p5-Curses') 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 -- cgit