ports/175275: [PATCH] misc/lv: add license information etc.

Yasuhiro KIMURA yasu at utahime.org
Mon Jan 14 02:40:01 UTC 2013


>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 at FreeBSD.org
-#
+# Created by: sumikawa at FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	lv
 PORTVERSION=	4.51
@@ -15,13 +11,21 @@
 MAINTAINER=	sumikawa at 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:


More information about the freebsd-ports-bugs mailing list