Date: Fri, 25 Jul 2008 20:46:04 +0200 From: Erwin Lansing <erwin@FreeBSD.org> To: Doug Barton <dougb@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/x11/tint Makefile Message-ID: <20080725184603.GI1698@droso.net> In-Reply-To: <200807251844.m6PIi3OX027841@repoman.freebsd.org> References: <200807251844.m6PIi3OX027841@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@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@FreeBSD.org
You are now free to move around the cabin erwin@aauug.dk
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iD8DBQFIih9rqy9aWxUlaZARAnCZAJ0QnxEngrSaRqLN+TpUYOLZvwA77ACghqR6
OygSVoNg9ITrSOY90C4EAKU=
=f72p
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080725184603.GI1698>
