Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Dec 2012 20:10:56 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174038: [PATCH] misc/boxes: update to 1.1.1, take maintainership, OptionsNG, added license
Message-ID:  <20121201191104.B5B81BA8@hub.freebsd.org>
Resent-Message-ID: <201212011920.qB1JK0Bx088405@freefall.freebsd.org>

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

>Number:         174038
>Category:       ports
>Synopsis:       [PATCH] misc/boxes: update to 1.1.1, take maintainership, OptionsNG, added license
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 01 19:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 1.1.1
- Take maintainership

Makefile changed:
+LICENSE=	GPLv2
+PORTDOCS=	README
+.include <bsd.port.options.mk>
+post-extract:
+.if ${PORT_OPTIONS:MDOCS}

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- boxes-1.1.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/misc/boxes/Makefile ./Makefile
--- /usr/ports/misc/boxes/Makefile	2012-11-16 09:03:12.000000000 +0100
+++ ./Makefile	2012-12-01 19:56:56.000000000 +0100
@@ -6,18 +6,18 @@
 #
 
 PORTNAME=	boxes
-PORTVERSION=	1.1
-PORTREVISION=	1
+PORTVERSION=	1.1.1
 CATEGORIES=	misc
 MASTER_SITES=	http://boxes.thomasjensen.com/download/ \
-		${MASTER_SITE_SUNSITE}
+		SUNSITE
 MASTER_SITE_SUBDIR=	utils/text
 EXTRACT_SUFX=	.src.tar.gz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Draws ASCII-art configurable boxes around text or code
 
-MAN1=		boxes.1
+LICENSE=	GPLv2
+
 USE_GMAKE=	yes
 USE_BISON=	build
 ALL_TARGET=	boxes
@@ -27,7 +27,13 @@
 PLIST_FILES=	bin/boxes share/boxes/boxes-config
 PLIST_DIRS=	share/boxes
 
-do-configure:
+MAN1=		boxes.1
+
+PORTDOCS=	README
+
+.include <bsd.port.options.mk>
+
+post-extract:
 	${RM} ${WRKSRC}/src/boxes.h ${WRKSRC}/doc/boxes.1
 
 do-install:
@@ -36,4 +42,9 @@
 	${INSTALL_DATA} ${WRKSRC}/boxes-config ${DATADIR}
 	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
 
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/misc/boxes/distinfo ./distinfo
--- /usr/ports/misc/boxes/distinfo	2012-11-16 09:03:12.000000000 +0100
+++ ./distinfo	2012-12-01 18:52:05.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (boxes-1.1.src.tar.gz) = c9f931fc9f8e0aeadb370518e3e66f1cbfa956ba7817bcb8f701630f70b711e3
-SIZE (boxes-1.1.src.tar.gz) = 138279
+SHA256 (boxes-1.1.1.src.tar.gz) = d8529840281618e75a4adf313f08291b89c8cf83928c2c1f4b0ddcd236fb2420
+SIZE (boxes-1.1.1.src.tar.gz) = 139140
diff -ruN --exclude=CVS /usr/ports/misc/boxes/pkg-descr ./pkg-descr
--- /usr/ports/misc/boxes/pkg-descr	2012-11-16 09:03:12.000000000 +0100
+++ ./pkg-descr	2012-12-01 19:10:15.000000000 +0100
@@ -5,10 +5,10 @@
                                 /*********************/
 
 The boxes command is a text filter which can draw ASCII art boxes around
-its input text.  These boxes may also be removed, even if they have
-been badly damaged by editing of the text inside.  Since boxes may be
+its input text. These boxes may also be removed, even if they have
+been badly damaged by editing of the text inside. Since boxes may be
 open on any side, boxes can also be used to create regional comments in
-any programming language.  With the help of an editor macro or mapping,
+any programming language. With the help of an editor macro or mapping,
 damaged boxes can easily be repaired.
 
 WWW: http://boxes.thomasjensen.com/
--- boxes-1.1.1.patch ends here ---

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



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