1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Enable form, menu, and panel support

Submitted by:	Jeffrey Smith <jeffrey.smith at futurecis.com>
This commit is contained in:
Rong-En Fan 2008-02-29 17:23:43 +00:00
parent 07041f9ec2
commit 0f96249ede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208195

View File

@ -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>