aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Curses/Makefile
blob: 40d0ec273d3d4a5c6a48c0bba1ca377e09b8123a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    p5-Curses
# Date created:             October 17th 1996
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Curses
PORTVERSION=    1.13
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Curses
PKGNAMEPREFIX=  p5-
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl5 module for terminal screen handling and optimization

PERL_CONFIGURE= yes

MAN3=       Curses.3

pre-configure:
    @${LN} -s ${WRKSRC}/hints/c-freebsd.ncurses.h \
        ${WRKSRC}/c-config.h

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
    ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/Makefile.PL ${WRKSRC}/test.syms
    ${REINPLACE_CMD} -e "s/.<.,//" ${WRKSRC}/test.syms
.endif

.include <bsd.port.post.mk>