Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 10:30:01 GMT
From:      nemysis <nemysis@gmx.ch>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/173268: [PATCH] graphics/cadubi: Makefile changed, OptionsNG, take maintainership
Message-ID:  <201211041030.qA4AU17Q034310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/173268; it has been noted by GNATS.

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173268: [PATCH] graphics/cadubi: Makefile changed,
 OptionsNG, take maintainership
Date: Sun, 4 Nov 2012 11:20:46 +0100

 --MP_/5bf3.yymYpEVkVm.H5jfnHf
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Used all for pkg-plist in Makefile as
 
 +PLIST_FILES=   bin/${PORTNAME} \                                                                                                                              
 +               share/cadubi/help.txt \                                                                                                                        
 +               share/cadubi/logo.txt                                                                                                                          
 +PLIST_DIRSTRY= share/cadubi
 
 Removed PORTDATA= *
 --MP_/5bf3.yymYpEVkVm.H5jfnHf
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=cadubi.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 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-04 11:07:11.000000000 +0100
 @@ -7,27 +7,41 @@
  
  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} \
 +		share/cadubi/help.txt \
 +		share/cadubi/logo.txt
 +PLIST_DIRSTRY=	share/cadubi
 +
 +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%%
 ===> Done
 
 --MP_/5bf3.yymYpEVkVm.H5jfnHf--



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