2012-12-01 00:50:02 +01:00
|
|
|
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1999-05-20 11:14:19 +02:00
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= pinfo
|
2012-12-01 00:50:02 +01:00
|
|
|
PORTVERSION= 0.6.10
|
1999-05-20 11:14:19 +02:00
|
|
|
CATEGORIES= misc
|
2012-12-01 00:50:02 +01:00
|
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/3351/
|
1999-05-20 11:14:19 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Ncurses based, lynx style info documentation browser
|
1999-05-20 11:14:19 +02:00
|
|
|
|
2012-12-01 00:50:02 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= READLINE
|
|
|
|
OPTIONS_DEFAULT=READLINE
|
|
|
|
READLINE_DESC= Enable readline support
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2013-05-06 17:34:17 +02:00
|
|
|
USES= gettext ncurses
|
2012-12-01 00:50:02 +01:00
|
|
|
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
|
|
|
|
LIBTOOLIZE_ARGS=--force
|
|
|
|
ACLOCAL_ARGS= -I macros
|
|
|
|
AUTOMAKE_ARGS= --add-missing --force-missing
|
|
|
|
CONFIGURE_ARGS= --with-localedir=${PREFIX}/share/locale
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-03-25 13:07:44 +01:00
|
|
|
|
2006-03-31 05:26:51 +02:00
|
|
|
MAN1= pinfo.1
|
|
|
|
INFO= pinfo
|
1999-05-20 11:14:19 +02:00
|
|
|
|
2013-05-06 17:34:17 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-03-31 05:26:51 +02:00
|
|
|
|
2012-12-01 00:50:02 +01:00
|
|
|
PLIST_FILES= bin/pinfo etc/pinforc
|
|
|
|
.for lang in cs de eu ja nl pl pt_BR ro ru sv vi
|
|
|
|
PLIST_FILES+= %%NLS%%share/locale/${lang}/LC_MESSAGES/pinfo.mo
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-05-06 17:34:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
2012-12-01 00:50:02 +01:00
|
|
|
.if ${PORT_OPTIONS:MREADLINE}
|
2013-05-06 17:34:17 +02:00
|
|
|
USES= readline
|
2012-12-01 00:50:02 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-readline
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@(cd ${WRKSRC} && ${LOCALBASE}/bin/autopoint)
|
|
|
|
|
2007-04-18 13:46:10 +02:00
|
|
|
.include <bsd.port.mk>
|