openbsd-ports/devel/p5-Curses-UI/Makefile

29 lines
580 B
Makefile

# $OpenBSD: Makefile,v 1.7 2008/02/08 22:00:48 landry Exp $
COMMENT= curses based user interface framework for Perl
MODULES= cpan
DISTNAME= Curses-UI-0.9601
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel
BUILD_DEPENDS= ::devel/p5-Curses \
::devel/p5-Term-ReadKey
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_ENV= TEST_POD=Yes
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Curses-UI
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLE_DIR}
.include <bsd.port.mk>