diff --git a/dns/openresolv/Makefile b/dns/openresolv/Makefile index 70bb65e4a905..a73911b7b368 100644 --- a/dns/openresolv/Makefile +++ b/dns/openresolv/Makefile @@ -1,17 +1,19 @@ PORTNAME= openresolv PORTVERSION= 3.12.0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://roy.marples.name/downloads/openresolv/ MAINTAINER= roy@marples.name COMMENT= Resolvconf compatible framework for managing resolv.conf USES= cpe tar:xz CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes NO_ARCH= yes -SUB_FILES= pkg-deinstall pkg-message +SUB_FILES= pkg-message +SUB_LIST= PORTNAME=${PORTNAME} .include diff --git a/dns/openresolv/files/pkg-deinstall.in b/dns/openresolv/files/pkg-deinstall.in deleted file mode 100644 index 5d6ab56e733a..000000000000 --- a/dns/openresolv/files/pkg-deinstall.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -case $2 in - DEINSTALL) - ;; - POST-DEINSTALL) - echo "===> post-deinstallation information for $1" - echo "" - echo "Please note that $1 was not completely removed" - echo "from this system:" - echo "" - echo "/etc/resolv.conf should now be changed to be a regular" - echo "file and /var/run/resolvconf can be removed if openresolv" - echo "will no longer be used." - echo "" - ;; - *) - exit 64 - ;; -esac -exit 0 diff --git a/dns/openresolv/files/pkg-message.in b/dns/openresolv/files/pkg-message.in index e25daf854019..1b6c44026dc2 100644 --- a/dns/openresolv/files/pkg-message.in +++ b/dns/openresolv/files/pkg-message.in @@ -1,9 +1,22 @@ [ { type: install message: < post-deinstallation information for %%PORTNAME%% + +Please note that %%PORTNAME%% was not completely removed +from this system: + +/etc/resolv.conf should now be changed to be a regular +file and /var/run/resolvconf can be removed if openresolv +will no longer be used. + EOM } ]