svn commit: r329603 - head/textproc/dwdiff
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sun Oct 6 16:45:08 UTC 2013
Author: danilo
Date: Sun Oct 6 16:45:07 2013
New Revision: 329603
URL: http://svnweb.freebsd.org/changeset/ports/329603
Log:
- 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)
Modified:
head/textproc/dwdiff/Makefile
head/textproc/dwdiff/distinfo
head/textproc/dwdiff/pkg-plist
Modified: head/textproc/dwdiff/Makefile
==============================================================================
--- head/textproc/dwdiff/Makefile Sun Oct 6 16:43:13 2013 (r329602)
+++ head/textproc/dwdiff/Makefile Sun Oct 6 16:45:07 2013 (r329603)
@@ -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 at FreeBSD.org
+MAINTAINER= danilo at 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>
Modified: head/textproc/dwdiff/distinfo
==============================================================================
--- head/textproc/dwdiff/distinfo Sun Oct 6 16:43:13 2013 (r329602)
+++ head/textproc/dwdiff/distinfo Sun Oct 6 16:45:07 2013 (r329603)
@@ -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
Modified: head/textproc/dwdiff/pkg-plist
==============================================================================
--- head/textproc/dwdiff/pkg-plist Sun Oct 6 16:43:13 2013 (r329602)
+++ head/textproc/dwdiff/pkg-plist Sun Oct 6 16:45:07 2013 (r329603)
@@ -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%%
More information about the svn-ports-all
mailing list