Re: cvs commit: ports/x11/tint Makefile

From: Erwin Lansing <erwin_at_FreeBSD.org>
Date: Fri, 25 Jul 2008 20:46:04 +0200
On Fri, Jul 25, 2008 at 06:44:03PM +0000, Doug Barton wrote:
> dougb       2008-07-25 18:44:03 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     x11/tint             Makefile 
>   Log:
>   Create a pkg-deinstall file to remove the ${X11BASE}/etc/xdg directory
>   if it's empty. I can't add it to PLIST_DIRS since other ports add stuff
>   there.

Why not use dirrmtry, or is anything special happening here?

Cheers,
-erwin

>   
>   Revision  Changes    Path
>   1.3       +5 -0      ports/x11/tint/Makefile
> 
> http://cvsweb.FreeBSD.org/ports/x11/tint/Makefile.diff?r1=1.2&r2=1.3&f=h
> | --- ports/x11/tint/Makefile	2008/07/21 19:22:42	1.2
> | +++ ports/x11/tint/Makefile	2008/07/25 18:44:03	1.3
> | _at__at_ -2,7 +2,7 _at__at_
> |  # Date created:				21 July 2008
> |  # Whom:					dougb_at_FreeBSD.org
> |  #
> | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/x11/tint/Makefile,v 1.2 2008/07/21 19:22:42 dougb Exp $
> | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/x11/tint/Makefile,v 1.3 2008/07/25 18:44:03 dougb Exp $
> |  #
> |  
> |  PORTNAME=	tint
> | _at__at_ -37,6 +37,11 _at__at_ post-patch:
> |  	_at_${SED} -e 's#/usr/bin#/bin#g' \
> |  		${WRKSRC}/Makefile.dist > ${WRKSRC}/Makefile
> |  
> | +pre-install:
> | +	${ECHO} "rmdir ${X11BASE}/etc/xdg 2>/dev/null || true" > \
> | +		${WRKDIR}/pkg-deinstall
> | +PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
> | +
> |  post-install:
> |  .if !defined(NOPORTDOCS)
> |  	${MKDIR} ${DOCSDIR}
-- 
Erwin Lansing                                   http://droso.org
                                               erwin_at_FreeBSD.org
You are now free to move around the cabin         erwin_at_aauug.dk

Received on Fri Jul 25 2008 - 18:46:06 UTC