freebsd-ports/misc/pinfo/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

41 lines
940 B
Makefile

# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
PORTNAME= pinfo
PORTVERSION= 0.6.10
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= GENTOO \
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 gettext-tools 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 <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext-runtime
.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
CONFIGURE_ARGS+=--disable-nls
.endif
.include <bsd.port.mk>