cvs commit: ports/x11/tint Makefile

Erwin Lansing erwin at FreeBSD.org
Fri Jul 25 18:46:06 UTC 2008


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
> | @@ -2,7 +2,7 @@
> |  # 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
> | @@ -37,6 +37,11 @@ post-patch:
> |  	@${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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20080725/db9251fa/attachment.pgp


More information about the cvs-all mailing list