FreeBSD Bugzilla – Attachment 185003 Details for
Bug 221206
misc/lr: rename to misc/lazyread, cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
lr.patch (text/plain), 7.85 KB, created by
Dmitry Marakasov
on 2017-08-03 16:46:20 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2017-08-03 16:46:20 UTC
Size:
7.85 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 447247) >+++ Makefile (working copy) >@@ -241,6 +241,7 @@ > SUBDIR += ktouch > SUBDIR += kwordquiz > SUBDIR += latex-mk >+ SUBDIR += lazyread > SUBDIR += lc > SUBDIR += lesspipe > SUBDIR += libeatmydata >@@ -256,7 +257,6 @@ > SUBDIR += localedata > SUBDIR += logsurfer > SUBDIR += loop >- SUBDIR += lr > SUBDIR += lv > SUBDIR += lxde-common > SUBDIR += magicpoint >Index: lr/Makefile >=================================================================== >--- lr/Makefile (revision 447247) >+++ lr/Makefile (nonexistent) >@@ -1,53 +0,0 @@ >-# Created by: Michael L. Hostbaek (mich@freebsdcluster.org) >-# $FreeBSD$ >- >-PORTNAME= lr >-PORTVERSION= 2.0 >-CATEGORIES= misc >-MASTER_SITES= SF/lazyread/lazyread/lazyread%20${PORTVERSION} >-DISTNAME= lazyread-${PORTVERSION} >- >-MAINTAINER= mich@FreeBSD.org >-COMMENT= Lazyread can auto-scroll files on your screen in movie credit fashion >- >-USES= ncurses >-OPTIONS_DEFINE= DOCS >- >-CONFLICTS_INSTALL= lrfiles-[0-9]* >- >-.include <bsd.port.pre.mk> >- >-.if exists(/usr/bin/lesspipe.sh) >-LESSPIPE_PATH=/usr/bin/ >-PLIST_SUB+= LESSPIPE="@comment " >-.else >-.if exists(${LOCALBASE}/bin/lesspipe.sh) >-LESSPIPE_PATH=${LOCALBASE}/bin/ >-PLIST_SUB+= LESSPIPE="@comment " >-.else >-INSTALL_LESSPIPE=1 >-LESSPIPE_PATH=${LOCALBASE}/bin/ >-PLIST_SUB+= LESSPIPE="" >-.endif >-.endif >- >-LDFLAGS+= -lncurses >-WRKSRC= ${WRKDIR}/${DISTNAME} >- >-pre-patch: >- @${REINPLACE_CMD} -e 's|getenv("LESSOPEN")|"\|${LESSPIPE_PATH}lesspipe.sh"|' ${WRKSRC}/lazyread.c >- >-do-build: >- cd ${WRKSRC}; ${CC} ${CFLAGS} -o lr lazyread.c ${LDFLAGS} >- >-do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/lr ${STAGEDIR}${PREFIX}/bin >- >-.if defined(INSTALL_LESSPIPE) >- ${INSTALL_SCRIPT} ${FILESDIR}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin >-.endif >- >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} >- >-.include <bsd.port.post.mk> > >Property changes on: lr/Makefile >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:keywords >## -1 +0,0 ## >-FreeBSD=%H >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lr/distinfo >=================================================================== >--- lr/distinfo (revision 447247) >+++ lr/distinfo (nonexistent) >@@ -1,2 +0,0 @@ >-SHA256 (lazyread-2.0.tar.gz) = 7e462c5c9fe104d69e410c537336af838a30a030699dd9320f75fe85a20746a1 >-SIZE (lazyread-2.0.tar.gz) = 12583 > >Property changes on: lr/distinfo >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lr/files/lesspipe.sh >=================================================================== >--- lr/files/lesspipe.sh (revision 447247) >+++ lr/files/lesspipe.sh (nonexistent) >@@ -1,13 +0,0 @@ >-#! /bin/sh >-# ex:ts=8 >- >-# $FreeBSD: /tmp/pcvs/ports/misc/lr/files/lesspipe.sh,v 1.1 2003-04-13 10:43:20 edwin Exp $ >- >-case "$1" in >- *.Z) uncompress -c $1 2>/dev/null >- ;; >- *.gz) gzip -d -c $1 2>/dev/null >- ;; >- *.bz2) bzip2 -d -c $1 2>/dev/null >- ;; >-esac > >Property changes on: lr/files/lesspipe.sh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lr/pkg-descr >=================================================================== >--- lr/pkg-descr (revision 447247) >+++ lr/pkg-descr (nonexistent) >@@ -1,11 +0,0 @@ >-Lazyread is a C program that auto-scrolls files on your screen >-in movie credit fashion. It allows the user to read without having >-to manually scroll down to see new pages. There are lots of >-features, such as being able to choose the speed at which it >-scrolls, pause, dynamic speed up, the ability to highlight lines >-that contain a specified string, and much more. >- >-WWW: http://lazyread.sourceforge.net >- >- - Michael L. Hostbaek >- mich@FreeBSD.org > >Property changes on: lr/pkg-descr >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lr/pkg-plist >=================================================================== >--- lr/pkg-plist (revision 447247) >+++ lr/pkg-plist (nonexistent) >@@ -1,3 +0,0 @@ >-bin/lr >-%%LESSPIPE%%bin/lesspipe.sh >-%%PORTDOCS%%%%DOCSDIR%%/README > >Property changes on: lr/pkg-plist >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: lazyread/Makefile >=================================================================== >--- lazyread/Makefile (revision 447247) >+++ lazyread/Makefile (working copy) >@@ -1,53 +1,35 @@ > # Created by: Michael L. Hostbaek (mich@freebsdcluster.org) > # $FreeBSD$ > >-PORTNAME= lr >+PORTNAME= lazyread > PORTVERSION= 2.0 >+PORTREVISION= 1 > CATEGORIES= misc >-MASTER_SITES= SF/lazyread/lazyread/lazyread%20${PORTVERSION} >-DISTNAME= lazyread-${PORTVERSION} >+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} > > MAINTAINER= mich@FreeBSD.org > COMMENT= Lazyread can auto-scroll files on your screen in movie credit fashion > > USES= ncurses >-OPTIONS_DEFINE= DOCS > >-CONFLICTS_INSTALL= lrfiles-[0-9]* >+LDFLAGS+= -lncurses > >-.include <bsd.port.pre.mk> >+PLIST_FILES= bin/${PORTNAME} >+PORTDOCS= * > >-.if exists(/usr/bin/lesspipe.sh) >-LESSPIPE_PATH=/usr/bin/ >-PLIST_SUB+= LESSPIPE="@comment " >-.else >-.if exists(${LOCALBASE}/bin/lesspipe.sh) >-LESSPIPE_PATH=${LOCALBASE}/bin/ >-PLIST_SUB+= LESSPIPE="@comment " >-.else >-INSTALL_LESSPIPE=1 >-LESSPIPE_PATH=${LOCALBASE}/bin/ >-PLIST_SUB+= LESSPIPE="" >-.endif >-.endif >+OPTIONS_DEFINE= DOCS > >-LDFLAGS+= -lncurses >-WRKSRC= ${WRKDIR}/${DISTNAME} >- > pre-patch: >- @${REINPLACE_CMD} -e 's|getenv("LESSOPEN")|"\|${LESSPIPE_PATH}lesspipe.sh"|' ${WRKSRC}/lazyread.c >+ @${REINPLACE_CMD} -e 's|getenv("LESSOPEN")|"\|/usr/bin/lesspipe.sh"|' ${WRKSRC}/lazyread.c > > do-build: >- cd ${WRKSRC}; ${CC} ${CFLAGS} -o lr lazyread.c ${LDFLAGS} >+ cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} lazyread.c ${LDFLAGS} > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/lr ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin > >-.if defined(INSTALL_LESSPIPE) >- ${INSTALL_SCRIPT} ${FILESDIR}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin >-.endif >- >+do-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: lazyread/distinfo >=================================================================== >--- lazyread/distinfo (revision 447247) >+++ lazyread/distinfo (working copy) >@@ -1,2 +1,3 @@ >+TIMESTAMP = 1501778211 > SHA256 (lazyread-2.0.tar.gz) = 7e462c5c9fe104d69e410c537336af838a30a030699dd9320f75fe85a20746a1 > SIZE (lazyread-2.0.tar.gz) = 12583 >Index: lazyread/pkg-descr >=================================================================== >--- lazyread/pkg-descr (revision 447247) >+++ lazyread/pkg-descr (working copy) >@@ -5,7 +5,4 @@ > scrolls, pause, dynamic speed up, the ability to highlight lines > that contain a specified string, and much more. > >-WWW: http://lazyread.sourceforge.net >- >- - Michael L. Hostbaek >- mich@FreeBSD.org >+WWW: http://lazyread.sourceforge.net/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221206
: 185003