aboutsummaryrefslogtreecommitdiff
path: root/devel/gettext-lint
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-20 16:45:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-20 16:45:42 +0000
commita80cf883012e7bbc6ac052749de117434d4c3f42 (patch)
tree9bfd00734d135200a8ff2e8fa05f7066e9c76cf8 /devel/gettext-lint
parenta1ec5dcc07c512082bbc850be36438a50a9a46c2 (diff)
downloadports-a80cf883012e7bbc6ac052749de117434d4c3f42.tar.gz
ports-a80cf883012e7bbc6ac052749de117434d4c3f42.zip
- Update to 0.3.1
PR: ports/77770 Submitted by: Sam Lawrance <boris@brooknet.com.au>
Notes
Notes: svn path=/head/; revision=129375
Diffstat (limited to 'devel/gettext-lint')
-rw-r--r--devel/gettext-lint/Makefile12
-rw-r--r--devel/gettext-lint/distinfo4
-rw-r--r--devel/gettext-lint/files/patch-src:Makefile.in7
-rw-r--r--devel/gettext-lint/pkg-plist16
4 files changed, 18 insertions, 21 deletions
diff --git a/devel/gettext-lint/Makefile b/devel/gettext-lint/Makefile
index 1f7581730e21..36b1b7590506 100644
--- a/devel/gettext-lint/Makefile
+++ b/devel/gettext-lint/Makefile
@@ -7,9 +7,10 @@
#
PORTNAME= gettext-lint
-PORTVERSION= 0.1.1
+PORTVERSION= 0.3.1
CATEGORIES= devel
-MASTER_SITES= http://mega.ist.utl.pt/~pmmm/gettext-lint/download/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=gettext-lint
MAINTAINER= ports@FreeBSD.org
COMMENT= Check the validity and consistency of PO and POT files
@@ -21,8 +22,11 @@ USE_PYTHON= yes
GNU_CONFIGURE= yes
MAKE_ENV= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
+MAN1= POFileConsistency.1 POFileChecker.1 POFileSpell.1 POFileFill.1 \
+ POFileEquiv.1 POFileStatus.1
+
post-patch:
- @${GREP} -lR "/usr/share/gettext-lint" ${WRKSRC} | ${XARGS} \
- ${REINPLACE_CMD} -e "s,/usr/share/gettext-lint,${PYTHON_SITELIBDIR}/gettext-lint,"
+ @${GREP} -lR "@prefix@/share/@PACKAGE@" ${WRKSRC} | ${XARGS} \
+ ${REINPLACE_CMD} -e "s,@prefix@/share/@PACKAGE@,${PYTHON_SITELIBDIR}/@PACKAGE@,"
.include <bsd.port.mk>
diff --git a/devel/gettext-lint/distinfo b/devel/gettext-lint/distinfo
index dd9602c3d7a4..9e57e317f236 100644
--- a/devel/gettext-lint/distinfo
+++ b/devel/gettext-lint/distinfo
@@ -1,2 +1,2 @@
-MD5 (gettext-lint-0.1.1.tar.gz) = 722dd3e78c70ddca293e875846078983
-SIZE (gettext-lint-0.1.1.tar.gz) = 64565
+MD5 (gettext-lint-0.3.1.tar.gz) = 9414ca6d500d29f29b6a1f8669a11e5c
+SIZE (gettext-lint-0.3.1.tar.gz) = 72912
diff --git a/devel/gettext-lint/files/patch-src:Makefile.in b/devel/gettext-lint/files/patch-src:Makefile.in
index c7ec85446e06..31705332b12c 100644
--- a/devel/gettext-lint/files/patch-src:Makefile.in
+++ b/devel/gettext-lint/files/patch-src:Makefile.in
@@ -1,10 +1,9 @@
---- src/Makefile.in.orig Mon Feb 2 04:29:01 2004
-+++ src/Makefile.in Tue Feb 3 14:26:57 2004
-@@ -259,9 +259,8 @@
+--- src/Makefile.in.orig Fri Feb 11 05:25:29 2005
++++ src/Makefile.in Sun Feb 20 21:52:56 2005
+@@ -250,8 +250,8 @@
install-data-local:
-- @$(NORMAL-INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
- $(INSTALL_DATA) *.py $(DESTDIR)$(pkgdatadir)
+ $(mkinstalldirs) $(DESTDIR)$(PYTHON_SITELIBDIR)/gettext-lint; \
diff --git a/devel/gettext-lint/pkg-plist b/devel/gettext-lint/pkg-plist
index ac92b0f80293..299a6b539766 100644
--- a/devel/gettext-lint/pkg-plist
+++ b/devel/gettext-lint/pkg-plist
@@ -1,21 +1,15 @@
bin/POFileChecker
bin/POFileConsistency
-bin/POFileConsistencyShell
bin/POFileEquiv
-bin/POFileReplace
+bin/POFileFill
bin/POFileSpell
bin/POFileStatus
-bin/POTFileChecker
-%%PYTHON_SITELIBDIR%%/gettext-lint/Config.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/File.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/FileStatus.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/Module.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/Equivalent.py
%%PYTHON_SITELIBDIR%%/gettext-lint/POFile.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/POFileStatus.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/POStatus.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/POTFile.py
-%%PYTHON_SITELIBDIR%%/gettext-lint/Status.py
%%PYTHON_SITELIBDIR%%/gettext-lint/capitalization.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/util.py
@dirrm %%PYTHON_SITELIBDIR%%/gettext-lint
%%DATADIR%%/report.xsl
+%%DATADIR%%/report.css
+%%DATADIR%%/count.xsl
@dirrm %%DATADIR%%