542480064e
after a post from James Wright on ports@
31 lines
753 B
Makefile
31 lines
753 B
Makefile
# $OpenBSD: Makefile,v 1.16 2009/06/06 21:59:38 ajacoutot Exp $
|
|
|
|
COMMENT= curses(3) based terminal widgets
|
|
|
|
MODULES= cpan
|
|
VERSION= 1.997
|
|
DISTNAME= CursesWidgets-${VERSION}
|
|
PKGNAME= p5-${DISTNAME}p2
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
|
|
|
|
# Artistic
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
RUN_DEPENDS= :p5-Curses-*:devel/p5-Curses
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
# Regress tests require an interactive terminal
|
|
REGRESS_FLAGS= TERM=${TERM}
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
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>
|