summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/pks/Makefile3
-rw-r--r--security/pks/files/pkg-deinstall.in25
-rw-r--r--security/pks/files/pkg-message.in11
3 files changed, 13 insertions, 26 deletions
diff --git a/security/pks/Makefile b/security/pks/Makefile
index 37d5a568f46a..ee844db05803 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pks
PORTVERSION= 0.9.6.20040312
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= security www
MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree
DISTFILES= pks-current.tgz
@@ -31,6 +31,7 @@ CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \
DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h
SUB_FILES= pkg-message
+SUB_LIST= PORTNAME="${PORTNAME}"
OPTIONS_DEFINE= DOCS
PORTDOCS= pks_help.* README EMAIL
diff --git a/security/pks/files/pkg-deinstall.in b/security/pks/files/pkg-deinstall.in
deleted file mode 100644
index 9d424a24855e..000000000000
--- a/security/pks/files/pkg-deinstall.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-PKGNAME=$1
-STAGE=$2
-
-case ${STAGE} in
-DEINSTALL)
- ;;
-POST-DEINSTALL)
- cat << EOF
-===========================================================================
-If you won't be using ${PKGNAME} any longer, you may want to remove the
-following directories and files:
-
- %%PREFIX%%/etc/pksd.conf
- /var/pks
-===========================================================================
-EOF
- ;;
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
-esac
-exit 0
diff --git a/security/pks/files/pkg-message.in b/security/pks/files/pkg-message.in
index feb4dbff8c2d..68e9f9701430 100644
--- a/security/pks/files/pkg-message.in
+++ b/security/pks/files/pkg-message.in
@@ -37,5 +37,16 @@ Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable this ser
man 8 pksclient
EOM
+},
+{ type: remove
+ message: <<EOM
+===========================================================================
+If you won't be using %%PORTNAME%% any longer, you may want to remove the
+following directories and files:
+
+ %%PREFIX%%/etc/pksd.conf
+ /var/pks
+===========================================================================
+EOM
}
]