From owner-svn-ports-head@FreeBSD.ORG Mon Dec 29 01:16:43 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D1B51B8; Mon, 29 Dec 2014 01:16:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F70B19C4; Mon, 29 Dec 2014 01:16:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBT1Ghwm096428; Mon, 29 Dec 2014 01:16:43 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBT1Gg8o096425; Mon, 29 Dec 2014 01:16:42 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201412290116.sBT1Gg8o096425@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 29 Dec 2014 01:16:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375767 - in head/games/linux-doom3: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 01:16:43 -0000 Author: amdmi3 Date: Mon Dec 29 01:16:41 2014 New Revision: 375767 URL: https://svnweb.freebsd.org/changeset/ports/375767 QAT: https://qat.redports.org/buildarchive/r375767/ Log: - Fix reporting files that should be removed manually - Drop @dirrm* from plist Added: head/games/linux-doom3/files/pkg-deinstall.in (contents, props changed) Modified: head/games/linux-doom3/Makefile head/games/linux-doom3/pkg-plist Modified: head/games/linux-doom3/Makefile ============================================================================== --- head/games/linux-doom3/Makefile Mon Dec 29 01:16:20 2014 (r375766) +++ head/games/linux-doom3/Makefile Mon Dec 29 01:16:41 2014 (r375767) @@ -24,7 +24,7 @@ OPTIONS_DEFINE= NO_CDKEY NO_CDKEY_DESC= Use older version which doesn't require cd key DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} -SUB_FILES= doom3 doom3-ded pkg-message +SUB_FILES= doom3 doom3-ded pkg-message pkg-deinstall .include Added: head/games/linux-doom3/files/pkg-deinstall.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/linux-doom3/files/pkg-deinstall.in Mon Dec 29 01:16:41 2014 (r375767) @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$2" = "POST-DEINSTALL" ]; then + if find "%%DATADIR%%" -type f | head -1 | grep -q ''; then + echo "If you are permanently removing this port, you should remove any configuration files, data files, and mods left in %%DATADIR%%." | fmt + fi +fi Modified: head/games/linux-doom3/pkg-plist ============================================================================== --- head/games/linux-doom3/pkg-plist Mon Dec 29 01:16:20 2014 (r375766) +++ head/games/linux-doom3/pkg-plist Mon Dec 29 01:16:41 2014 (r375767) @@ -21,8 +21,3 @@ bin/linux-doom3-ded %%DATADIR%%/doom.x86 %%DATADIR%%/doomded.x86 share/pixmaps/doom3.png -%%NEW%%@dirrm %%DATADIR%%/pb/htm -%%NEW%%@dirrm %%DATADIR%%/pb -%%NEW%%@dirrmtry %%DATADIR%%/d3xp -@dirrmtry %%DATADIR%%/base -@unexec rmdir %D/%%DATADIR%% >/dev/null 2>&1 || echo "If you are permanently removing this port, you should remove any configuration files, data files, and mods left in %D/%%DATADIR%%." | fmt