diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-06 23:14:18 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-06 23:14:18 +0800 |
commit | d052982b67b3aa4f15be62f460d2207cfc711f58 (patch) | |
tree | e54c3a1beffb566b396b3040a8019c768dab0d37 /mail | |
parent | 994cd57286da9c306d70ba518302a0bb449cbe2b (diff) | |
download | freebsd-ports-gnome-d052982b67b3aa4f15be62f460d2207cfc711f58.tar.gz freebsd-ports-gnome-d052982b67b3aa4f15be62f460d2207cfc711f58.tar.zst freebsd-ports-gnome-d052982b67b3aa4f15be62f460d2207cfc711f58.zip |
- use STAGEDIR
Diffstat (limited to 'mail')
-rw-r--r-- | mail/antivirus-milter/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/antivirus-milter/Makefile b/mail/antivirus-milter/Makefile index 5a7d42833166..4eee5f73c3cd 100644 --- a/mail/antivirus-milter/Makefile +++ b/mail/antivirus-milter/Makefile @@ -12,8 +12,6 @@ COMMENT= Sendmail milter wich uses McAfee Virus Scan or clamav LICENSE= BSD -NO_STAGE= yes - CFLAGS+= -Wall ${PTHREAD_CFLAGS:S=""==} LIBS+= -lmilter ${PTHREAD_LIBS} PLIST_SUB+= ANTIVIRUS=${ANTIVIRUS_DIR} @@ -45,11 +43,13 @@ do-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/antivirus \ - ${PREFIX}/libexec/antivirus - ${INSTALL_DATA} ${WRKSRC}/antivirus.conf ${PREFIX}/etc/antivirus.conf-dist - ${INSTALL_DATA} ${WRKSRC}/clamav.conf ${PREFIX}/etc/antivirus.conf-clamav - ${MKDIR} ${ANTIVIRUS_DIR}/spool ${ANTIVIRUS_DIR}/run ${ANTIVIRUS_DIR}/quarantine - ${CHOWN} -R nobody:nobody ${ANTIVIRUS_DIR}/ + ${STAGEDIR}${PREFIX}/libexec/antivirus + ${INSTALL_DATA} ${WRKSRC}/antivirus.conf \ + ${STAGEDIR}${PREFIX}/etc/antivirus.conf-dist + ${INSTALL_DATA} ${WRKSRC}/clamav.conf \ + ${STAGEDIR}${PREFIX}/etc/antivirus.conf-clamav + ${MKDIR} ${STAGEDIR}${ANTIVIRUS_DIR}/spool ${STAGEDIR}${ANTIVIRUS_DIR}/run ${STAGEDIR}${ANTIVIRUS_DIR}/quarantine + ${CHOWN} -R nobody:nobody ${STAGEDIR}${ANTIVIRUS_DIR}/ @${ECHO_MSG} "Add to your *.mc configfile:" @${ECHO_MSG} "INPUT_MAIL_FILTER(\`antivirus', \`S=local:${ANTIVIRUS_DIR}/antivirus.sock, F=')" |