svn commit: r550300 - head/devel/gettext-msghack
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 27 19:30:29 UTC 2020
Author: sunpoet
Date: Sun Sep 27 19:30:26 2020
New Revision: 550300
URL: https://svnweb.freebsd.org/changeset/ports/550300
Log:
Update to 0.21
- Update LICENSE
- Use USES=shebangfix
- Install manpage
- Add WWW
- Take maintainership
Modified:
head/devel/gettext-msghack/Makefile
head/devel/gettext-msghack/distinfo
head/devel/gettext-msghack/pkg-descr
Modified: head/devel/gettext-msghack/Makefile
==============================================================================
--- head/devel/gettext-msghack/Makefile Sun Sep 27 19:30:20 2020 (r550299)
+++ head/devel/gettext-msghack/Makefile Sun Sep 27 19:30:26 2020 (r550300)
@@ -2,28 +2,28 @@
# $FreeBSD$
PORTNAME= msghack
-PORTVERSION= 0.2
+PORTVERSION= 0.21
CATEGORIES= devel
-MASTER_SITES= LOCAL/rene
+MASTER_SITES= LOCAL/sunpoet
PKGNAMEPREFIX= gettext-
-# Bundled in fedora gettext srpm
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Alter gettext po files in special ways
-LICENSE= GPLv2+
+LICENSE= GPLv3+
-NO_BUILD= yes
+USES= python:3.5+ shebangfix tar:xz
+
NO_ARCH= yes
+NO_BUILD= yes
-USES= python tar:bzip2
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/msghack \
+ share/man/man1/msghack.1.gz
-post-patch:
- ${REINPLACE_CMD} -e '1s|/usr/bin/python|${PYTHON_CMD}|'\
- ${WRKSRC}/${PORTNAME}.py
+SHEBANG_FILES= msghack.py
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/msghack.py ${STAGEDIR}${PREFIX}/bin/msghack
+ ${INSTALL_MAN} ${WRKSRC}/msghack.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>
Modified: head/devel/gettext-msghack/distinfo
==============================================================================
--- head/devel/gettext-msghack/distinfo Sun Sep 27 19:30:20 2020 (r550299)
+++ head/devel/gettext-msghack/distinfo Sun Sep 27 19:30:26 2020 (r550300)
@@ -1,2 +1,3 @@
-SHA256 (msghack-0.2.tar.bz2) = c2b3ab088dd3e909649bee7840603d232ede6447176ed4e5d41df33b30a53664
-SIZE (msghack-0.2.tar.bz2) = 3149
+TIMESTAMP = 1601031532
+SHA256 (msghack-0.21.tar.xz) = d98e29f3027847150fb3cf2a87862dcca55969d321c1c9150bda0271c84405ee
+SIZE (msghack-0.21.tar.xz) = 3308
Modified: head/devel/gettext-msghack/pkg-descr
==============================================================================
--- head/devel/gettext-msghack/pkg-descr Sun Sep 27 19:30:20 2020 (r550299)
+++ head/devel/gettext-msghack/pkg-descr Sun Sep 27 19:30:26 2020 (r550300)
@@ -1,3 +1,5 @@
-Msghack can be used to alter gettext .po files in ways no sane mind
-would think about. It is a reimplementation of the original msghack
-in Python.
+Msghack can be used to alter gettext .po files in ways no sane mind would think
+about. It is a reimplementation of the original msghack in Python.
+
+WWW: https://src.fedoraproject.org/rpms/gettext/blob/master/f/msghack.py
+WWW: https://src.fedoraproject.org/rpms/gettext/blob/master/f/msghack.1
More information about the svn-ports-all
mailing list