mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
edd868a7b6
- Do not patch Makefile with sed(1) but pass the variables via MAKE_ARGS - Clean up installation recipe and split off `do-install-DOCS-on' target
31 lines
804 B
Makefile
31 lines
804 B
Makefile
# Created by: dsh@vlink.ru
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= avcheck
|
|
PORTVERSION= 0.91
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.corpit.ru/ftp/avcheck/
|
|
|
|
MAINTAINER= dsh@vlink.ru
|
|
COMMENT= Simple antivirus solution for a mail system
|
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
PLIST_FILES= man/man1/avcheck.1.gz sbin/avcheck sbin/uchroot
|
|
PORTDOCS= README.AVP README.AVP.de README.DrWeb README.Exim \
|
|
README.Postfix README.Postfix.de README.Sendmail eicar.msg \
|
|
eicar.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/avcheck ${WRKSRC}/uchroot \
|
|
${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|