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

PORTNAME=   pinfo
PORTVERSION=    0.6.9
PORTREVISION=   4
CATEGORIES= misc
MASTER_SITES=   http://alioth.debian.org/frs/download.php/1502/

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

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

MAN1=       pinfo.1
INFO=       pinfo

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

.include <bsd.port.mk>