svn commit: r318137 - head/graphics/enblend

Alexey Dokuchaev danfe at FreeBSD.org
Tue May 14 05:20:42 UTC 2013


On Tue, May 14, 2013 at 01:11:56AM +0000, Greg Lehey wrote:
> New Revision: 318137
> URL: http://svnweb.freebsd.org/changeset/ports/318137
> 
> Log:
>   Ensure clean removal.
>   
> @@ -44,9 +44,9 @@ LDFLAGS+=	-L${LOCALBASE}/lib
>  
>  MAN1=		enblend.1 enfuse.1
>  PLIST_FILES=	bin/enblend bin/enfuse
> +PLIST_DIRS+=	%%DOCSDIR%%
>  
>  post-install:
> -		${MKDIR} ${DOCSDIR}
>  		${INSTALL_DATA} ${WRKSRC}/doc/*.info ${PREFIX}/${INFO_PATH}
>  
>  .include <bsd.port.mk>

I do not understand how can this "ensure clean removal".  It seems that the
port does not install any docs, so why did you add PLIST_DIRS?  Just to make
sure, this is what my tinderbox yields:

    ====================<phase 7: make package>====================
    ===>  Building package for enblend-4.1.1
    Deleting enblend-4.1.1
    pkg_delete: file '/usr/local/share/doc/enblend' doesn't exist
    pkg_delete: unable to completely remove directory
    '/usr/local/share/doc/enblend'
    pkg_delete: couldn't entirely delete package (perhaps the packing list
    is incorrectly specified?)

Consider the attached patch.  I've also fixed other Makefile deficiencies
for you (not all of them though).

./danfe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enblend.diff
Type: text/x-diff
Size: 1343 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130514/9a79dc7b/attachment.diff>


More information about the svn-ports-all mailing list