Tested by naddy@ and josh <dorqus@freek.com> -- This module provides a standard library of functions and widgets for use in creating Curses-based interfaces. Should work reliably with both Curses and nCurses libraries. Current widgets include: Text field (txt_field) List box (list_box) Button sets (buttons) Calendar (calendar) Message box (msg_box) Input box (input_box) Extra functions include: select_colour line_split grab_key init_scr
31 lines
856 B
Makefile
31 lines
856 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2000/12/05 19:12:39 avsm Exp $
|
|
|
|
DISTNAME= curses_widgets_1_2
|
|
PKGNAME= p5-Curses-Widgets-1.2
|
|
|
|
CATEGORIES= devel perl5
|
|
NEED_VERSION= 1.340
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Curses
|
|
|
|
HOMEPAGE= http://www.odinicfoundation.org/arthur/
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl/${ARCH}-openbsd
|
|
BUILD_DEPENDS= ${PERL_MODULES}/Curses.pm::devel/p5-Curses
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
CONFIGURE_STYLE= perl
|
|
WRKDIST= ${WRKDIR}/curses_widgets-1.2
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Curses-Widgets
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/test.pl ${PREFIX}/share/examples/p5-Curses-Widgets/demo.pl
|
|
|
|
.include <bsd.port.mk>
|