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

PORTNAME=   pinfo
PORTVERSION=    0.6.6p1
PORTREVISION=   0
CATEGORIES= misc
MASTER_SITES=   http://zeus.polsl.gliwice.pl/~pborys/stable-version/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

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

MAN1=   pinfo.1

.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>