aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pinfo/Makefile
blob: 9e2644ba20541ae0a65231094dac06c05c4dd51c (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
36
37
38
39
40
41
# New ports collection makefile for:    pinfo
# Date created:     19 May 1999
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pinfo
PORTVERSION=    0.6.8
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://dione.ids.pl/~pborys/software/pinfo/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Ncurses based, lynx style info documentation browser

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-readline \
        --with-localedir=${PREFIX}/share/locale

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

MAN1=   pinfo.1
INFO=   pinfo

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400010
LIB_DEPENDS+=   ncurses.5:${PORTSDIR}/devel/ncurses
CONFIGURE_ARGS+=    --with-ncurses=${LOCALBASE}
.endif

.include <bsd.port.post.mk>