Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 11:30:00 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175275: [PATCH] misc/lv: add license information etc.
Message-ID:  <20130114023000.086674E62C@eastasia.home.utahime.org>
Resent-Message-ID: <201301140240.r0E2e0p4089091@freefall.freebsd.org>

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

>Number:         175275
>Category:       ports
>Synopsis:       [PATCH] misc/lv: add license information etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 02:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Fri Jan 11 10:39:45 JST 2013 xxxx amd64


	
>Description:

	- Add license information.
	- Adopt OptionsNG.
	- Trim makefile header.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-lv begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310295)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    lv
-# Date created:         Fri Nov  6 09:06:33 PST 1998
-# Whom:                 sumikawa@FreeBSD.org
-#
+# Created by: sumikawa@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	lv
 PORTVERSION=	4.51
@@ -15,13 +11,21 @@
 MAINTAINER=	sumikawa@FreeBSD.org
 COMMENT=	Powerful Multilingual File Viewer
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/../GPL.txt
+
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 GNU_CONFIGURE=	yes
 
 MAN1=		lv.1
 
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	(cd ${WRKDIR}/${DISTNAME}; \
 	${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})
--- patch-lv ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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