aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-21 00:45:42 +0800
committerpav <pav@FreeBSD.org>2005-02-21 00:45:42 +0800
commitb3360019f0f63cea7db1a253c20b485cb9d78549 (patch)
treeca0c6288330a50c3c80a789edacc01d84bcf6edb /devel
parent8e1947e55bae69701e303502811959f255d8a6e4 (diff)
downloadfreebsd-ports-gnome-b3360019f0f63cea7db1a253c20b485cb9d78549.tar.gz
freebsd-ports-gnome-b3360019f0f63cea7db1a253c20b485cb9d78549.tar.zst
freebsd-ports-gnome-b3360019f0f63cea7db1a253c20b485cb9d78549.zip
- Update to 0.3.1
PR: ports/77770 Submitted by: Sam Lawrance <boris@brooknet.com.au>
Diffstat (limited to 'devel')
-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%%