Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:27:04 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172067: sysutils/logmon: Support PORTEXAMPLES
Message-ID:  <20120926022704.aa6413b63331b917758d530f@yahoo.com>
Resent-Message-ID: <201209251820.q8PIKL2m035588@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172067
>Category:       ports
>Synopsis:       sysutils/logmon: Support PORTEXAMPLES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:20:21 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update WWW: line
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PORTEXAMPLES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/logmon/Makefile sysutils/logmon/Makefile
--- /usr/ports/sysutils/logmon/Makefile	2009-07-12 00:52:02.000000000 +0900
+++ sysutils/logmon/Makefile	2012-09-25 03:42:57.000000000 +0900
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	logmon
-# Date created:				12 September 2001
-# Whom:					Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
-#
+# Created by: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
 # $FreeBSD: ports/sysutils/logmon/Makefile,v 1.12 2009/07/11 15:52:02 miwi Exp $
-#
 
 PORTNAME=	logmon
 PORTVERSION=	0.4.4
@@ -14,14 +10,25 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An ncurses-based split window log monitoring program
 
+LICENSE=	ART10
+
+OPTIONS_DEFINE=	EXAMPLES
+
 USE_BZIP2=	yes
-GNU_CONFIGURE=	yes
-PLIST_FILES=	bin/logmon %%EXAMPLESDIR%%/logmon.conf.example
-PLIST_DIRS=	%%EXAMPLESDIR%%
+USE_NCURSES=	yes
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
+
+PORTEXAMPLES=	logmon.conf.example
+PLIST_FILES=	bin/logmon
+
+.include <bsd.port.options.mk>
 
 post-install:
-	${MKDIR} ${EXAMPLESDIR}
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/logmon.conf.example ${EXAMPLESDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/sysutils/logmon/pkg-descr sysutils/logmon/pkg-descr
--- /usr/ports/sysutils/logmon/pkg-descr	2002-05-23 07:32:03.000000000 +0900
+++ sysutils/logmon/pkg-descr	2012-08-09 03:08:56.000000000 +0900
@@ -1,9 +1,9 @@
-This program will monitor one or more log files, updating when more data is
-available ala 'tail -f' , within a common terminal window via a "split window".
-User can scroll up/down/left/right through all the windows. A header displays
-each frames file name, and number of lines in the file. Very usefull when
-watching several log files at the same time. I've tested this under Linux, but
-it should work under other Unices. Please let me know if you get it working on
-another OS.
+This program will monitor one or more log files, updating when more data
+is available ala 'tail -f', within a common terminal window via a "split
+window". User can scroll up/down/left/right through all the windows. A
+header displays each frames file name, and number of lines in the file.
+Very usefull when watching several log files at the same time. I've
+tested this under Linux, but it should work under other Unices. Please
+let me know if you get it working on another OS.
 
-WWW: http://www.edespot.com/plaidhat/code/LogMon/
+WWW: http://www.edespot.com/logmon
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022704.aa6413b63331b917758d530f>