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
--k9xkV0rc9XGsukaG Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 25, 2008 at 06:44:03PM +0000, Doug Barton wrote: > dougb 2008-07-25 18:44:03 UTC >=20 > FreeBSD ports repository >=20 > Modified files: > x11/tint Makefile=20 > 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 > =20 > Revision Changes Path > 1.3 +5 -0 ports/x11/tint/Makefile >=20 > http://cvsweb.FreeBSD.org/ports/x11/tint/Makefile.diff?r1=3D1.2&r2=3D1.3&= f=3Dh > | --- 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= =2E2 2008/07/21 19:22:42 dougb Exp $ > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/x11/tint/Makefile,v 1= =2E3 2008/07/25 18:44:03 dougb Exp $ > | # > | =20 > | PORTNAME=3D tint > | @@ -37,6 +37,11 @@ post-patch: > | @${SED} -e 's#/usr/bin#/bin#g' \ > | ${WRKSRC}/Makefile.dist > ${WRKSRC}/Makefile > | =20 > | +pre-install: > | + ${ECHO} "rmdir ${X11BASE}/etc/xdg 2>/dev/null || true" > \ > | + ${WRKDIR}/pkg-deinstall > | +PKGDEINSTALL=3D ${WRKDIR}/pkg-deinstall > | + > | post-install: > | .if !defined(NOPORTDOCS) > | ${MKDIR} ${DOCSDIR} --=20 Erwin Lansing http://droso.org erwin@FreeBSD.org You are now free to move around the cabin erwin@aauug.dk --k9xkV0rc9XGsukaG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFIih9rqy9aWxUlaZARAnCZAJ0QnxEngrSaRqLN+TpUYOLZvwA77ACghqR6 OygSVoNg9ITrSOY90C4EAKU= =f72p -----END PGP SIGNATURE----- --k9xkV0rc9XGsukaG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080725184603.GI1698>