mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-18 06:21:18 +02:00
36 lines
921 B
Makefile
36 lines
921 B
Makefile
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
|
|
# $FreeBSD: head/devel/p5-Curses/Makefile 420666 2016-08-23 12:04:09Z jadawin $
|
|
|
|
PORTNAME= Curses
|
|
PORTVERSION= 1.36
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl5 module for terminal screen handling and optimization
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
CONFIGURE_ARGS= PANELS MENUS FORMS
|
|
CONFIGURE_ENV= CURSES_CFLAGS="-I${WRKSRC}/usr/include/ncurses"
|
|
|
|
CONFIGURE_ENV+= CURSES_LDFLAGS="-L/usr/lib/ -lncursesw"
|
|
CONFIGURE_ENV+= CURSES_LIBTYPE="ncursesw"
|
|
|
|
|
|
pre-configure:
|
|
${LN} -sf ${WRKSRC}/hints/c-freebsd.ncurses.h \
|
|
${WRKSRC}/c-config.h
|
|
${MKDIR} ${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
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Curses/Curses.so
|
|
|
|
.include <bsd.port.mk>
|
|
#EOF
|