# Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= pinfo PORTVERSION= 0.6.10 CATEGORIES= misc MASTER_SITES= GENTOO/distfiles \ http://alioth.debian.org/frs/download.php/file/3351/ MAINTAINER= ports@FreeBSD.org COMMENT= Ncurses based, lynx style info documentation browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf libtool makeinfo ncurses tar:bzip2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INFO= pinfo PLIST_FILES= bin/pinfo etc/pinforc man/man1/pinfo.1.gz OPTIONS_DEFINE= READLINE NLS OPTIONS_DEFAULT=READLINE READLINE_USES= readline READLINE_CONFIGURE_WITH= readline .include .if ${PORT_OPTIONS:MNLS} USES+= gettext .for lang in cs de eu ja nl pl pt_BR ro ru sv vi PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/pinfo.mo .endfor .else USES+= gettext:build CONFIGURE_ARGS+=--disable-nls .endif .include