diff options
author | taca <taca> | 2009-09-22 17:38:33 +0000 |
---|---|---|
committer | taca <taca> | 2009-09-22 17:38:33 +0000 |
commit | 5b6e70ca8d337a4fed3814960fcde6c7c62a7470 (patch) | |
tree | 22bed0aeba77d700809b75eaa8d716b812b3a278 /security/f-prot-antivirus6/INSTALL | |
parent | 34fcf73415e83e7a8029fdaf9a26f13b73885b72 (diff) | |
download | pkgsrc-5b6e70ca8d337a4fed3814960fcde6c7c62a7470.tar.gz |
Importing common files for F-PROT Antivirus version 6.x.
F-PROT Antivirus is commercial product of FRISK Software International Inc.
Diffstat (limited to 'security/f-prot-antivirus6/INSTALL')
-rw-r--r-- | security/f-prot-antivirus6/INSTALL | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/f-prot-antivirus6/INSTALL b/security/f-prot-antivirus6/INSTALL new file mode 100644 index 00000000000..44e9ea9b8c4 --- /dev/null +++ b/security/f-prot-antivirus6/INSTALL @@ -0,0 +1,23 @@ +#!/bin/sh +# $NetBSD: INSTALL,v 1.1.1.1 2009/09/22 17:38:33 taca Exp $ +# +FP_DATADIR="${PREFIX}/@DATADIR@" +FP_FPROTDIR="${PREFIX}/@FPROTDIR@" +FP_EGDIR="${PREFIX}/@EGDIR@" +FP_VARDIR="@VARDIR@" + +FP_DEF_FILE="@FP_DATA@" + +case ${STAGE} in +POST-INSTALL) + if [ ! -f "${FP_FPROTDIR}/${FP_DEF_FILE}" ]; then + ${ECHO} "Install default signature file from ${FP_DATADIR}/${FP_DEF_FILE}." + ${RM} -f "${FP_FPROTDIR}/${FP_DEF_FILE}" + ${CP} -p "${FP_DATADIR}/${FP_DEF_FILE}" "${FP_FPROTDIR}" + else + ${ECHO} "Use existing signature file: ${FP_FPROTDIR}/${FP_DEF_FILE}" + fi + ${ECHO} + ${LN} -fs ${PKG_SYSCONFDIR}/f-prot.conf /etc + ;; +esac |