[Midnightbsd-cvs] mports [17906] trunk/devel: add gettext lint port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Dec 21 11:40:28 EST 2014
Revision: 17906
http://svnweb.midnightbsd.org/mports/?rev=17906
Author: laffer1
Date: 2014-12-21 11:40:27 -0500 (Sun, 21 Dec 2014)
Log Message:
-----------
add gettext lint port
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/gettext-lint/
trunk/devel/gettext-lint/Makefile
trunk/devel/gettext-lint/distinfo
trunk/devel/gettext-lint/pkg-descr
trunk/devel/gettext-lint/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2014-12-21 16:36:22 UTC (rev 17905)
+++ trunk/devel/Makefile 2014-12-21 16:40:27 UTC (rev 17906)
@@ -92,6 +92,7 @@
SUBDIR += gdb66
SUBDIR += geany
SUBDIR += gettext
+SUBDIR += gettext-lint
SUBDIR += gettext-msghack
SUBDIR += gettext-runtime
SUBDIR += gettext-tools
Added: trunk/devel/gettext-lint/Makefile
===================================================================
--- trunk/devel/gettext-lint/Makefile (rev 0)
+++ trunk/devel/gettext-lint/Makefile 2014-12-21 16:40:27 UTC (rev 17906)
@@ -0,0 +1,40 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/gettext-lint/Makefile 373636 2014-11-29 18:22:32Z tijl $
+
+PORTNAME= gettext-lint
+PORTVERSION= 0.4
+CATEGORIES= devel
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Check the validity and consistency of PO and POT files
+
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+NO_BUILD= yes
+
+USES= gettext-tools:run python:run shebangfix
+SHEBANG_FILES= src/POFileEquiv.in src/POFileGlossary.in
+
+post-patch:
+.for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
+ POFileGlossary POFileSpell POFileStatus
+ cd ${WRKSRC}/src && ${SED} -e 's|@PYTHON@|${PYTHON_CMD}|g ; \
+ s|@prefix@/share/@PACKAGE@|${PYTHON_SITELIBDIR}/${PORTNAME}|g' ${i}.in > ${i}
+.endfor
+
+do-install:
+.for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
+ POFileGlossary POFileSpell POFileStatus
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/bin/${i}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${i}.1
+.endfor
+ @${MKDIR} ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/src/*.py \
+ ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+ @${MKDIR} ${FAKE_DIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/*.css ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/*.xsl ${DATADIR}
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/gettext-lint/Makefile
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-lint/distinfo
===================================================================
--- trunk/devel/gettext-lint/distinfo (rev 0)
+++ trunk/devel/gettext-lint/distinfo 2014-12-21 16:40:27 UTC (rev 17906)
@@ -0,0 +1,2 @@
+SHA256 (gettext-lint-0.4.tar.gz) = 0ddf463517cc8eb87afc127683040073edad47623be963e0fdd537a7c7b4ec68
+SIZE (gettext-lint-0.4.tar.gz) = 148364
Property changes on: trunk/devel/gettext-lint/distinfo
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-lint/pkg-descr
===================================================================
--- trunk/devel/gettext-lint/pkg-descr (rev 0)
+++ trunk/devel/gettext-lint/pkg-descr 2014-12-21 16:40:27 UTC (rev 17906)
@@ -0,0 +1,17 @@
+The gettext lint tools is a collection of tools for checking the validity and
+consistency of PO and POT files. It also includes an experimental glossary
+building tool.
+
+This package includes:
+ * POFileStatus - PO file validator and status reporting
+ * POFileChecker - searches for common mistakes in PO files
+ * POTFileChecker - searches for common mistakes in POT files
+ * POFileConsistency - PO file consistency checks
+ * POFileConsistencyShell - PO file consistency checks, interactive mode
+ * POFileEquiv - PO file glossary generator
+
+All tools generate XML to the standard output; just run them with a list of PO
+or POT files to check. Some have extra options, run the command with no
+parameters for a short usage message.
+
+WWW: http://gettext-lint.sourceforge.net/
Property changes on: trunk/devel/gettext-lint/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/devel/gettext-lint/pkg-plist
===================================================================
--- trunk/devel/gettext-lint/pkg-plist (rev 0)
+++ trunk/devel/gettext-lint/pkg-plist 2014-12-21 16:40:27 UTC (rev 17906)
@@ -0,0 +1,24 @@
+bin/POFileChecker
+bin/POFileClean
+bin/POFileConsistency
+bin/POFileEquiv
+bin/POFileFill
+bin/POFileGlossary
+bin/POFileSpell
+bin/POFileStatus
+%%PYTHON_SITELIBDIR%%/gettext-lint/Equivalent.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/Glossary.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/POFile.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/capitalization.py
+%%PYTHON_SITELIBDIR%%/gettext-lint/util.py
+man/man1/POFileChecker.1.gz
+man/man1/POFileClean.1.gz
+man/man1/POFileConsistency.1.gz
+man/man1/POFileEquiv.1.gz
+man/man1/POFileFill.1.gz
+man/man1/POFileGlossary.1.gz
+man/man1/POFileSpell.1.gz
+man/man1/POFileStatus.1.gz
+%%DATADIR%%/count.xsl
+%%DATADIR%%/report.css
+%%DATADIR%%/report.xsl
Property changes on: trunk/devel/gettext-lint/pkg-plist
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list