From nobody Wed Jul 27 14:27:16 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LtGM91sXbz4XhLD; Wed, 27 Jul 2022 14:27:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LtGM91Jxwz3hXF; Wed, 27 Jul 2022 14:27:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658932037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tin4RT95tVrAFwZcNSBrvUKZVTf7iw41TMZuii1/cHg=; b=C/Lz++7WMwpWMmi7gI18bfAB7oX9VxbIBqluJXRspVg7YgJuSlyxiKTO8F6tuHaGHirm+t 0HvKWkHZOGe8IX1rQfirlGE3C342+/5SUbBlWkAXGR0fQZXvZECJRljtl3anwoyJ25BcqF 3V4Ea+9OLh0YgyUDnbJehAjbwZhv/1d7LeuFXdYm4D8N/q5Fn/rdkoYD2++0ALO7FFz22L 3OpoXOT84RHwAxeh7jFCuTJQ7wVpRP18+4tW0kk+POC5teFCPPq3bL1p4+Q1j/CvfK0rfM XpY4HwuycbdtuzdDGal6K3QZeUdf+PL6Rat4Vr7rkfH62H6mCAjJ7feV5bLwuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LtGM907TWzKlX; Wed, 27 Jul 2022 14:27:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26RERG4x066089; Wed, 27 Jul 2022 14:27:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RERG9R066088; Wed, 27 Jul 2022 14:27:16 GMT (envelope-from git) Date: Wed, 27 Jul 2022 14:27:16 GMT Message-Id: <202207271427.26RERG9R066088@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 9636cde2213c - main - cad/linux-eagle5: use pkg-message to show message on remove List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9636cde2213c259225e82563cead59721090a610 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658932037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tin4RT95tVrAFwZcNSBrvUKZVTf7iw41TMZuii1/cHg=; b=fixgnkzdTX5wEqfjc4mKK8ltndxSib5FJ+zqTDxv28x8XGNQC09fpT65BkPvz7DfO2AW9m 3XP1BnbXsuAo8VoEx0OF7/IBcTlngRunDttUyMwWfH7GxvenDMsEZVsjMwhcqKPSwaIsLO B07cxuCFDf0eXR2/MF5hxM/KnJrl6c1uxU6SL48CGMYpVkBAa3XRU7TqXhkaIin3UnH4yp j48v6nuKfk9Ha6b+5WywQaYIQYHmg/zTEIvtA39Bmp5I6cSCi0FZHz3ja40TpMSrjqXkfa OxG+kB11EoZw70E8vfQ7xmFemGEGsg5r1m0s+mM1LnhbfZQ6DU04eTIflg0QMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658932037; a=rsa-sha256; cv=none; b=xIu4Lo6+Rw2LsCnbLoRuZQSWYggmdXJHX9GBb/AuC2F44Brf4bekTYUsxK0DWT7DlfFJaS TETHhaUdtM+sV6PA0eZWN0kr/oSnplTL0ktrYMR8WzNJ+DCKsmC9AI+TSGR6UVRH0WrvZg SRj1kxSPtl4LfC/jr3zx+DalwJx63ypvhfkwLLmNekVvP11a1WUmrWdosnunj50Z2ORB8Z FDNWzeTu+1/ufXB3dxZ61bqmB3N21NJY838TjN/A4lR/3wyFToitf8U8fPySJG/+9ELRsw EPgpDcsArXoRXrhclD9qCCf+mwaImey1hdxi0oBKcYd2WVsAvHpXHNvqQ6BGvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=9636cde2213c259225e82563cead59721090a610 commit 9636cde2213c259225e82563cead59721090a610 Author: Baptiste Daroussin AuthorDate: 2022-07-27 13:34:20 +0000 Commit: Baptiste Daroussin CommitDate: 2022-07-27 14:27:11 +0000 cad/linux-eagle5: use pkg-message to show message on remove --- cad/linux-eagle5/Makefile | 4 ++-- cad/linux-eagle5/files/pkg-deinstall.in | 19 ------------------- cad/linux-eagle5/files/pkg-message.in | 8 ++++++++ 3 files changed, 10 insertions(+), 21 deletions(-) diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile index aa20658feb28..2e26d8c40f91 100644 --- a/cad/linux-eagle5/Makefile +++ b/cad/linux-eagle5/Makefile @@ -1,6 +1,6 @@ PORTNAME= eagle5 PORTVERSION= ${EAGLEVERSION} -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= cad linux MASTER_SITES= LOCAL/riggs/${PORTNAME} \ ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/ @@ -37,7 +37,7 @@ EAGLEVERSION= ${EAGLEBASEVERSION}.${EAGLEBUGFIX} USES= linux USE_LINUX= xorglibs jpeg png NO_BUILD= yes -SUB_FILES= pkg-deinstall pkg-message +SUB_FILES= pkg-message DESKTOP_ENTRIES= "Eagle5" "Tool for designing printed circuit boards" \ ${DATADIR}/ulp/eagle.bmp \ diff --git a/cad/linux-eagle5/files/pkg-deinstall.in b/cad/linux-eagle5/files/pkg-deinstall.in deleted file mode 100644 index 5418dcb1c48d..000000000000 --- a/cad/linux-eagle5/files/pkg-deinstall.in +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin - -DATADIR="%%DATADIR%%" - -post-deinstall() { - echo "WARNING: If you will *NOT* use this package anymore, please remove the" - echo " following file and the directory manually:" - echo " ${DATADIR}/bin/eagle.key" - echo " ${DATADIR}" - echo -} - -case $2 in - POST-DEINSTALL) - post-deinstall - ;; -esac diff --git a/cad/linux-eagle5/files/pkg-message.in b/cad/linux-eagle5/files/pkg-message.in index 338235d72c1c..12bc421ae666 100644 --- a/cad/linux-eagle5/files/pkg-message.in +++ b/cad/linux-eagle5/files/pkg-message.in @@ -12,5 +12,13 @@ directory upon initial startup. If this user does no longer want to work on projects with eagle (e.g. the root account has been used to create the mentioned key file), this directory can safely be deleted. EOM +}, +{ type: rmeove + message: <