7990f81066
After a discussion on the mailing list on moving manpages to ${PREFIX}/share/man for consistency with base where it is installed in usr/share/man, it appeared the same should happen to GNU info files which were installed under share in base and not in ports. Now texinfo is not in base on any of the supported version of FreeBSD it is possible to proceed to this move and it is easier to do than the manpage change. Other benefit than consistency are less patching: all build tools but cmake are expecting info files to be under share/info and cmake (patched here) was having an exception for BSD so the patch makes FreeBSD case less specific for them Bump revision of all impacted ports PR: 232907 exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17816
43 lines
985 B
Makefile
43 lines
985 B
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pinfo
|
|
PORTVERSION= 0.6.10
|
|
PORTREVISION= 3
|
|
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
|
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
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>
|