aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2019-04-18 19:56:29 +0800
committertobik <tobik@FreeBSD.org>2019-04-18 19:56:29 +0800
commit3db27c3c73b431c4785476875dbe9f46d677d088 (patch)
tree802fc603416abe6747ce359bbfb2c1a14b149ffe /textproc
parenta75f1dcfe26e4d673c40fa1abb5f608f7795e042 (diff)
downloadfreebsd-ports-gnome-3db27c3c73b431c4785476875dbe9f46d677d088.tar.gz
freebsd-ports-gnome-3db27c3c73b431c4785476875dbe9f46d677d088.tar.zst
freebsd-ports-gnome-3db27c3c73b431c4785476875dbe9f46d677d088.zip
textproc/txt2man: Update to 1.6.0
- Move to new home on GitHub - Fix typo CPE_VENDER -> CPE_VENDOR Changes: https://github.com/mvertes/txt2man/blob/txt2man-1.6.0/Changelog
Diffstat (limited to 'textproc')
-rw-r--r--textproc/txt2man/Makefile15
-rw-r--r--textproc/txt2man/distinfo5
-rw-r--r--textproc/txt2man/pkg-descr2
3 files changed, 13 insertions, 9 deletions
diff --git a/textproc/txt2man/Makefile b/textproc/txt2man/Makefile
index b3dffa5737f4..480f7009e2b3 100644
--- a/textproc/txt2man/Makefile
+++ b/textproc/txt2man/Makefile
@@ -2,29 +2,32 @@
# $FreeBSD$
PORTNAME= txt2man
-PORTVERSION= 1.5.6
+DISTVERSIONPREFIX= txt2man-
+DISTVERSION= 1.6.0
CATEGORIES= textproc
-MASTER_SITES= http://mvertes.free.fr/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tobik@FreeBSD.org
COMMENT= Converts flat ASCII text to man page format
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gawk:lang/gawk
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= gawk:lang/gawk
USES= cpe gmake
+CPE_VENDOR= marc_vertes
+USE_GITHUB= yes
+GH_ACCOUNT= mvertes
+
MAKE_ENV= prefix=${STAGEDIR}${PREFIX}
NO_ARCH= yes
-CPE_VENDER= marc_vertes
-
PLIST_FILES= bin/bookman bin/src2man bin/txt2man \
man/man1/bookman.1.gz man/man1/src2man.1.gz man/man1/txt2man.1.gz
post-patch:
+ @${REINPLACE_CMD} 's,share/man,man,g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's,awk,gawk,' ${WRKSRC}/bookman ${WRKSRC}/src2man
@${REINPLACE_CMD} '/exec ksh/d' ${WRKSRC}/txt2man
diff --git a/textproc/txt2man/distinfo b/textproc/txt2man/distinfo
index 2e2302d4aa3c..cfcb875d9cbf 100644
--- a/textproc/txt2man/distinfo
+++ b/textproc/txt2man/distinfo
@@ -1,2 +1,3 @@
-SHA256 (txt2man-1.5.6.tar.gz) = 984825c5fd0cb3495160bf3277f327078081a8dc219dc466509e307ec9a2b52a
-SIZE (txt2man-1.5.6.tar.gz) = 16293
+TIMESTAMP = 1555587660
+SHA256 (mvertes-txt2man-txt2man-1.6.0_GH0.tar.gz) = f6939e333a12e1ecceccaa547b58f4bf901a580cd2d8f822f8c292934c920c99
+SIZE (mvertes-txt2man-txt2man-1.6.0_GH0.tar.gz) = 16941
diff --git a/textproc/txt2man/pkg-descr b/textproc/txt2man/pkg-descr
index 304a23d4555b..aac469673b88 100644
--- a/textproc/txt2man/pkg-descr
+++ b/textproc/txt2man/pkg-descr
@@ -4,4 +4,4 @@ man pages. Smart argument processing is available either for commands using
omitted, standard input is taken as argument. Result is displayed on standard
output.
-WWW: http://mvertes.free.fr/
+WWW: https://github.com/mvertes/txt2man