1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update to version 5.8.1

- Convert to GNU_CONFIGURE
- Add NLS option
- Respect STRIP
- Unbreak check-plist with DOCS=off
- Drop default LICENSE_FILE
- Wrap long lines in pkg-descr

PR:		197445
Submitted by:	tkato432@yahoo.com
This commit is contained in:
Jan Beich 2015-02-17 03:13:42 +00:00
parent 15c2ae5025
commit edf523a437
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379139
4 changed files with 28 additions and 32 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= numdiff
PORTVERSION= 5.6.1
PORTVERSION= 5.8.1
CATEGORIES= math textproc
MASTER_SITES= SAVANNAH
@ -10,25 +10,27 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Compare putatively similar files, ignoring small numeric differences
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--mandir=${PREFIX}/man \
--exec-prefix=${PREFIX} \
--infodir=${PREFIX}/${INFO_PATH} \
--disable-nls
LIBS+= -lm
USES= gmake
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
INFO= numdiff
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
INFO= numdiff
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.if ! ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc
.endif
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NLS_INSTALL_TARGET= install install-nls
post-patch:
@${REINPLACE_CMD} -e \
'/$$(DOCS)/s|$$(INSTALL_DATA)|:| ; \
/$$(INFOFILE).gz/s|$$(INSTALL_DATA)|:|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (numdiff-5.6.1.tar.gz) = dd0dccdeac3f4f5e842f52af8a80e93e3d6e450610e7f0a82352aa9d6ef74b18
SIZE (numdiff-5.6.1.tar.gz) = 858925
SHA256 (numdiff-5.8.1.tar.gz) = 99aebaadf63325f5658411c09c6dde60d2990c5f9a24a51a6851cb574a4af503
SIZE (numdiff-5.8.1.tar.gz) = 894729

View File

@ -1,9 +1,9 @@
Numdiff is a little program that can be used to compare putatively similar files
line by line and field by field, ignoring small numeric differences or/and
different numeric formats.
Numdiff is a little program that can be used to compare putatively
similar files line by line and field by field, ignoring small numeric
differences or/and different numeric formats.
Equivalently, Numdiff is a program with the capability to appropriately compare
files containing numerical fields (and not only).
Equivalently, Numdiff is a program with the capability to appropriately
compare files containing numerical fields (and not only).
% numdiff file1 file2

View File

@ -1,15 +1,9 @@
bin/ndselect
bin/numdiff
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
man/man1/ndselect.1.gz
man/man1/numdiff.1.gz
%%PORTDOCS%%%%DOCSDIR%%/numdiff.html
%%PORTDOCS%%%%DOCSDIR%%/numdiff.pdf
%%PORTDOCS%%%%DOCSDIR%%/numdiff.txt
man/man1/ndselect.1.gz
man/man1/numdiff.1.gz
%%NLS%%share/locale/it/LC_MESSAGES/ndselect.mo
%%NLS%%share/locale/it/LC_MESSAGES/numdiff.mo