Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2012 21:20:22 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/173268: [PATCH] graphics/cadubi: Makefile changed, OptionsNG, take maintainership
Message-ID:  <20121101202026.9BEAD2E8@hub.freebsd.org>
Resent-Message-ID: <201211012030.qA1KU1Dg005346@freefall.freebsd.org>

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

>Number:         173268
>Category:       ports
>Synopsis:       [PATCH] graphics/cadubi: Makefile changed, OptionsNG, take maintainership
>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:   Thu Nov 01 20:30: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:

- Take maintainership

Removed file(s):
- pkg-plist

Makefile changed:
+LICENSE=	ART10
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+PORTDOCS=	*
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}

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

portlint -A
looks fine.

port test: clean

Build log

https://redports.org/buildarchive/20121101180235-31888/

>Fix:

--- cadubi-1.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/cadubi/Makefile ./Makefile
--- /usr/ports/graphics/cadubi/Makefile	2012-06-28 20:37:12.000000000 +0200
+++ ./Makefile	2012-11-01 19:00:58.000000000 +0100
@@ -7,27 +7,39 @@
 
 PORTNAME=	cadubi
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	graphics editors
 MASTER_SITES=	http://langworth.com/pub/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	ASCII drawing utility
 
+LICENSE=	ART10
+
 RUN_DEPENDS=	p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
 
 USE_PERL5=	yes
 NO_BUILD=	yes
 
+PLIST_FILES=	bin/${PORTNAME}
+
+PORTDATA=	*
+PORTDOCS=	*
+
+.include <bsd.port.options.mk>
+
 do-configure:
 	@${PERL} -pi -e \
 		's|Bin/help|Bin/../share/cadubi/help|g' ${WRKSRC}/cadubi
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/cadubi ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/help.txt ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/logo.txt ${DATADIR}
-.if !defined(NOPORTDOCS)
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${DATADIR}
+.for d in help.txt logo.txt
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
+.endfor
+
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/extras/ansi_term_codes.txt ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/graphics/cadubi/pkg-plist ./pkg-plist
--- /usr/ports/graphics/cadubi/pkg-plist	2004-02-20 17:10:43.000000000 +0100
+++ ./pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-bin/cadubi
-%%DATADIR%%/help.txt
-%%DATADIR%%/logo.txt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/ansi_term_codes.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%
--- cadubi-1.3_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?20121101202026.9BEAD2E8>