Sunday, April 29, 2018

update misc/most

update 5.0.0a => 5.0.0

I removed termcap from WANTLIB because =>
$ make port-lib-depends-check
most-5.0.0(misc/most):
Extra: termcap.14

MAKE_FLAGS added to set the right directory for the doc, I think it's
better than patching the project Makefile who choosed to use
${PREFIX}/doc in their last version.


Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/most/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 25 Apr 2015 21:56:38 -0000 1.20
+++ Makefile 29 Apr 2018 12:52:29 -0000
@@ -4,8 +4,8 @@ PORTROACH= limit:.*[^a]$$

COMMENT= browse or page through a text file

-DISTNAME= most-5.0.0a
-REVISION= 0
+DISTNAME= most-5.0.0
+
CATEGORIES= misc

MASTER_SITES= ftp://space.mit.edu/pub/davis/most/
@@ -15,7 +15,9 @@ LIB_DEPENDS= devel/libslang
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes

-WANTLIB= c m slang termcap
+WANTLIB= c m slang
+
+MAKE_FLAGS= DOC_DIR=${PREFIX}/share/doc/most

CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-slang=${LOCALBASE}
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/most/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo 18 Jan 2015 03:14:32 -0000 1.7
+++ distinfo 29 Apr 2018 12:52:29 -0000
@@ -1,2 +1,2 @@
-SHA256 (most-5.0.0a.tar.gz) = F6Flk9oGTd1IT1MVfVS4O82Y6kWrHtNh7qZMT64WOhA=
-SIZE (most-5.0.0a.tar.gz) = 155233
+SHA256 (most-5.0.0.tar.gz) = f40aGLGcbfcvYbsGwzdHfR8TuouU4csfyV5iquWvV1s=
+SIZE (most-5.0.0.tar.gz) = 155177
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- patches/patch-src_Makefile_in 13 Oct 2009 21:47:59 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_Makefile_in,v 1.1 2009/10/13 21:47:59 sthen Exp $
---- src/Makefile.in.orig Sat Oct 10 17:56:33 2009
-+++ src/Makefile.in Sat Oct 10 17:56:45 2009
-@@ -22,7 +22,7 @@ prefix = @prefix@
- exec_prefix = @exec_prefix@
- datarootdir = @datarootdir@
- BIN_DIR = $(prefix)/bin
--MAN_DIR = $(datarootdir)/man
-+MAN_DIR = $(prefix)/man
- DOC_DIR = $(datarootdir)/doc/most
- SYS_INITFILE = @sysconfdir@/most.conf
- MKINSDIR = ../autoconf/mkinsdir.sh
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/misc/most/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 13 Oct 2009 21:47:59 -0000 1.4
+++ pkg/PLIST 29 Apr 2018 12:52:29 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.4 2009/10/13 21:47:59 sthen Exp $
+@comment $OpenBSD$
@bin bin/most
@man man/man1/most.1
share/doc/most/

No comments:

Post a Comment