diff options
-rw-r--r-- | math/numdiff/Makefile | 34 | ||||
-rw-r--r-- | math/numdiff/distinfo | 4 | ||||
-rw-r--r-- | math/numdiff/pkg-descr | 10 | ||||
-rw-r--r-- | math/numdiff/pkg-plist | 14 |
4 files changed, 29 insertions, 33 deletions
diff --git a/math/numdiff/Makefile b/math/numdiff/Makefile index c8ffae03e074..609d71a2edba 100644 --- a/math/numdiff/Makefile +++ b/math/numdiff/Makefile @@ -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}" + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -INFO= numdiff +INFO= numdiff -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> +NLS_USES= gettext-runtime +NLS_CONFIGURE_ENABLE= nls +NLS_INSTALL_TARGET= install install-nls -.if ! ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc -.endif +post-patch: + @${REINPLACE_CMD} -e \ + '/$$(DOCS)/s|$$(INSTALL_DATA)|:| ; \ + /$$(INFOFILE).gz/s|$$(INSTALL_DATA)|:|' ${WRKSRC}/Makefile.in .include <bsd.port.mk> diff --git a/math/numdiff/distinfo b/math/numdiff/distinfo index 3728a9ad48d7..d2f8c8569512 100644 --- a/math/numdiff/distinfo +++ b/math/numdiff/distinfo @@ -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 diff --git a/math/numdiff/pkg-descr b/math/numdiff/pkg-descr index 9565ecff4b8a..cf3952ed92b7 100644 --- a/math/numdiff/pkg-descr +++ b/math/numdiff/pkg-descr @@ -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 diff --git a/math/numdiff/pkg-plist b/math/numdiff/pkg-plist index a448e9d78f2f..b53c1b6dde5c 100644 --- a/math/numdiff/pkg-plist +++ b/math/numdiff/pkg-plist @@ -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 |