diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-07 00:45:07 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-07 00:45:07 +0800 |
commit | 01bdc5f15dcf175874fba0431e8431bf391f9949 (patch) | |
tree | 99b350d579331ee196263db807e54827a315123b | |
parent | 91759c72b92b6b9c5bde86f88aaf033a2ef96c35 (diff) | |
download | freebsd-ports-gnome-01bdc5f15dcf175874fba0431e8431bf391f9949.tar.gz freebsd-ports-gnome-01bdc5f15dcf175874fba0431e8431bf391f9949.tar.zst freebsd-ports-gnome-01bdc5f15dcf175874fba0431e8431bf391f9949.zip |
- Update from 2.0.4 to 2.0.7
- Take maintainership
- Use Options Helpers
- Convert LIB_DEPENDS to new syntax
- Add stage support
Approved by: wg/culot (mentors, implicit)
-rw-r--r-- | textproc/dwdiff/Makefile | 36 | ||||
-rw-r--r-- | textproc/dwdiff/distinfo | 4 | ||||
-rw-r--r-- | textproc/dwdiff/pkg-plist | 12 |
3 files changed, 22 insertions, 30 deletions
diff --git a/textproc/dwdiff/Makefile b/textproc/dwdiff/Makefile index cc758c076644..80dc9cd84287 100644 --- a/textproc/dwdiff/Makefile +++ b/textproc/dwdiff/Makefile @@ -2,54 +2,36 @@ # $FreeBSD$ PORTNAME= dwdiff -PORTVERSION= 2.0.4 +PORTVERSION= 2.0.7 CATEGORIES= textproc MASTER_SITES= http://os.ghalkes.nl/dist/ \ - http://fossies.org/unix/privat/ \ - LOCAL/avl + http://fossies.org/unix/privat/ EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danilo@FreeBSD.org COMMENT= Delimited word diff program LICENSE= GPLv3 OPTIONS_DEFINE= UNICODE NLS DOCS OPTIONS_DEFAULT=UNICODE +OPTIONS_SUB= yes +NLS_CONFIGURE_WITH= gettext +NLS_USES= gettext + +UNICODE_CONFIGURE_WITH= unicode +UNICODE_LIB_DEPENDS= libicudata.so:${PORTSDIR}/devel/icu HAS_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --mandir=${MANPREFIX}/man -MAN1= ${PORTNAME}.1 dwfilter.1 -PORTDOCS= COPYING Changelog README - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" MANLANG= "" nl nl.UTF-8 -.else -CONFIGURE_ARGS+= --without-gettext -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MUNICODE} -LIB_DEPENDS+= icudata:${PORTSDIR}/devel/icu -.else -CONFIGURE_ARGS+= --without-unicode -.endif post-patch: -.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's|share/doc/${PORTNAME}-${PORTVERSION}|${DOCSDIR_REL}|' \ ${WRKSRC}/Makefile.in -.else - @${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in -.endif .include <bsd.port.mk> diff --git a/textproc/dwdiff/distinfo b/textproc/dwdiff/distinfo index 4b45290f2c5b..32c8d3eea39a 100644 --- a/textproc/dwdiff/distinfo +++ b/textproc/dwdiff/distinfo @@ -1,2 +1,2 @@ -SHA256 (dwdiff-2.0.4.tgz) = 0e467dbb2cc52d81f3e070adab823ac2a9170cac1910bc02bb8edec3f75e0b3d -SIZE (dwdiff-2.0.4.tgz) = 85930 +SHA256 (dwdiff-2.0.7.tgz) = 8caba639972669ad063839a51cfc784ac08a52a30f750a79e4fe7e823245a39f +SIZE (dwdiff-2.0.7.tgz) = 86433 diff --git a/textproc/dwdiff/pkg-plist b/textproc/dwdiff/pkg-plist index 66aaa8f4036d..03c99b8c6070 100644 --- a/textproc/dwdiff/pkg-plist +++ b/textproc/dwdiff/pkg-plist @@ -1,10 +1,20 @@ bin/dwdiff bin/dwfilter +man/man1/dwdiff.1.gz +man/man1/dwfilter.1.gz +%%NLS%%man/nl.UTF-8/man1/dwdiff.1.gz +%%NLS%%man/nl.UTF-8/man1/dwfilter.1.gz +%%NLS%%man/nl/man1/dwdiff.1.gz +%%NLS%%man/nl/man1/dwfilter.1.gz +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/Changelog +%%PORTDOCS%%%%DOCSDIR%%/README %%NLS%%share/locale/de/LC_MESSAGES/dwdiff.mo %%NLS%%share/locale/es/LC_MESSAGES/dwdiff.mo %%NLS%%share/locale/fr/LC_MESSAGES/dwdiff.mo %%NLS%%share/locale/nl/LC_MESSAGES/dwdiff.mo +%%NLS%%@dirrmtry man/nl/man1 %%NLS%%@dirrmtry man/nl.UTF-8/man1 %%NLS%%@dirrmtry man/nl.UTF-8 -%%NLS%%@dirrmtry man/nl/man1 %%NLS%%@dirrmtry man/nl +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |