aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-03-01 01:23:43 +0800
committerrafan <rafan@FreeBSD.org>2008-03-01 01:23:43 +0800
commitfa5325b18f5dee75b8577ca498070cab4d44de35 (patch)
tree5748274f579c9041c1ac16544758a57c260582ee /devel/p5-Curses
parenta8a20527cae93415e1b81930d5fd00f0d84aff06 (diff)
downloadfreebsd-ports-gnome-fa5325b18f5dee75b8577ca498070cab4d44de35.tar.gz
freebsd-ports-gnome-fa5325b18f5dee75b8577ca498070cab4d44de35.tar.zst
freebsd-ports-gnome-fa5325b18f5dee75b8577ca498070cab4d44de35.zip
- Enable form, menu, and panel support
Submitted by: Jeffrey Smith <jeffrey.smith at futurecis.com>
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>