Update to txt2tags-2.5.
This commit is contained in:
parent
56060fe1a5
commit
b0f9c6929e
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2009/03/24 22:05:18 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2009/10/10 14:30:24 kili Exp $
|
||||
|
||||
COMMENT= utility to turn simply formatted text into markup
|
||||
|
||||
DISTNAME= txt2tags-2.4
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
DISTNAME= txt2tags-2.5
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://txt2tags.sourceforge.net/
|
||||
@ -29,24 +28,22 @@ DOCDIR= ${PREFIX}/share/doc/txt2tags
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/txt2tags
|
||||
LOCALEDIR= ${PREFIX}/share/locale
|
||||
|
||||
LANGUAGES= de es fr hu it pt_BR zh_CN
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,^#!/usr/bin/env python,#!${MODPY_BIN}," \
|
||||
${WRKSRC}/{txt2tags,extras/t2tconv,test/run.py} \
|
||||
${WRKSRC}/{txt2tags,extras/gensite,test/run.py} \
|
||||
${WRKSRC}/samples/module/module-{body,full}.py
|
||||
@perl -pi -e "s,/usr/share/locale/,${LOCALBASE}/share/locale," \
|
||||
${WRKSRC}/txt2tags
|
||||
|
||||
do-build:
|
||||
.for l in ${LANGUAGES}
|
||||
cd ${WRKSRC}/po && msgfmt -o ${l}.mo ${l}.po
|
||||
.endfor
|
||||
cd ${WRKSRC}/po && for l in $$(ls *.po | sed 's@\.po$$@@'); do \
|
||||
msgfmt -o $$l.mo $$l.po; \
|
||||
done
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLESDIR}{,/img,/css,/module}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extras/t2tconv ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extras/gensite ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/extras/txt2tagsrc ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
||||
@ -55,11 +52,11 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/css/* ${EXAMPLESDIR}/css
|
||||
${INSTALL_DATA} ${WRKSRC}/samples/module/* ${EXAMPLESDIR}/module
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/manpage.man ${PREFIX}/man/man1/txt2tags.1
|
||||
.for l in ${LANGUAGES}
|
||||
${INSTALL_DATA_DIR} ${LOCALEDIR}/${l}/LC_MESSAGES
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \
|
||||
${LOCALEDIR}/${l}/LC_MESSAGES/txt2tags.mo
|
||||
.endfor
|
||||
cd ${WRKSRC}/po && for l in $$(ls *.mo | sed 's@\.mo$$@@'); do \
|
||||
d=${LOCALEDIR}/$$l/LC_MESSAGES && \
|
||||
${INSTALL_DATA_DIR} $$d && \
|
||||
${INSTALL_DATA} $$l.mo $$d/txt2tags.mo; \
|
||||
done
|
||||
|
||||
do-regress:
|
||||
PATH=${WRKSRC}:$$PATH ${WRKSRC}/test/run.py
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (txt2tags-2.4.tgz) = GYzilipXZQuAMsDVncHurg==
|
||||
RMD160 (txt2tags-2.4.tgz) = 55SuwnfaRAVIUn63vpypunE5ryQ=
|
||||
SHA1 (txt2tags-2.4.tgz) = cqYpKr9cFswtpPyTeJOWnm888U8=
|
||||
SHA256 (txt2tags-2.4.tgz) = b10Xz2WVIFMDkpGubwj08x6KfGu3zdnopmfUVsmgeJI=
|
||||
SIZE (txt2tags-2.4.tgz) = 495974
|
||||
MD5 (txt2tags-2.5.tgz) = 5NRVNlG1vgcRJjN4yhM8Qw==
|
||||
RMD160 (txt2tags-2.5.tgz) = MCVBrtX6vDxtio/Ju6RoHiSRIyg=
|
||||
SHA1 (txt2tags-2.5.tgz) = lfRytYsmtZFnCpMXh6JajvKjNoI=
|
||||
SHA256 (txt2tags-2.5.tgz) = r5gNIo1UbPIn3vVDjHMdaIqef5L2Sr1t7jFpYrzGJA4=
|
||||
SIZE (txt2tags-2.5.tgz) = 549169
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2006/12/29 13:38:03 kili Exp $
|
||||
bin/t2tconv
|
||||
@comment $OpenBSD: PLIST,v 1.4 2009/10/10 14:30:24 kili Exp $
|
||||
bin/gensite
|
||||
bin/txt2tags
|
||||
@man man/man1/txt2tags.1
|
||||
share/doc/txt2tags/
|
||||
@ -9,6 +9,7 @@ share/doc/txt2tags/README
|
||||
@comment share/doc/txt2tags/manpage-fr.man
|
||||
@comment share/doc/txt2tags/manpage-it.man
|
||||
@comment share/doc/txt2tags/manpage-pt.man
|
||||
@comment share/doc/txt2tags/manpage-zh.man
|
||||
@comment share/doc/txt2tags/manpage.man
|
||||
@comment share/doc/txt2tags/manpage.t2t
|
||||
share/doc/txt2tags/txt2tags-quickref.pdf
|
||||
@ -37,6 +38,8 @@ share/examples/txt2tags/module/
|
||||
share/examples/txt2tags/module/README
|
||||
share/examples/txt2tags/module/module-body.py
|
||||
share/examples/txt2tags/module/module-full.py
|
||||
share/examples/txt2tags/sample.doku
|
||||
share/examples/txt2tags/sample.gwiki
|
||||
share/examples/txt2tags/sample.html
|
||||
share/examples/txt2tags/sample.lout
|
||||
share/examples/txt2tags/sample.man
|
||||
@ -47,10 +50,12 @@ share/examples/txt2tags/sample.sgml
|
||||
share/examples/txt2tags/sample.t2t
|
||||
share/examples/txt2tags/sample.tex
|
||||
share/examples/txt2tags/sample.txt
|
||||
share/examples/txt2tags/sample.wiki
|
||||
share/examples/txt2tags/sample.xhtml
|
||||
share/examples/txt2tags/txt2tagsrc
|
||||
share/locale/de/LC_MESSAGES/txt2tags.mo
|
||||
share/locale/es/LC_MESSAGES/txt2tags.mo
|
||||
share/locale/fi/LC_MESSAGES/txt2tags.mo
|
||||
share/locale/fr/LC_MESSAGES/txt2tags.mo
|
||||
share/locale/hu/LC_MESSAGES/txt2tags.mo
|
||||
share/locale/it/LC_MESSAGES/txt2tags.mo
|
||||
|
Loading…
Reference in New Issue
Block a user