From owner-cvs-all@FreeBSD.ORG Fri Jul 25 18:46:06 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81CEB106564A; Fri, 25 Jul 2008 18:46:06 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:c:20d:56ff:fe6f:f935]) by mx1.freebsd.org (Postfix) with ESMTP id E71628FC15; Fri, 25 Jul 2008 18:46:05 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 535D51CC0E; Fri, 25 Jul 2008 20:46:04 +0200 (CEST) Date: Fri, 25 Jul 2008 20:46:04 +0200 From: Erwin Lansing To: Doug Barton Message-ID: <20080725184603.GI1698@droso.net> References: <200807251844.m6PIi3OX027841@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k9xkV0rc9XGsukaG" Content-Disposition: inline In-Reply-To: <200807251844.m6PIi3OX027841@repoman.freebsd.org> X-Operating-System: FreeBSD/i386 7.0-STABLE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/x11/tint Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 18:46:06 -0000 --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--