Lines 5-27
Link Here
|
5 |
# $FreeBSD: ports/security/scamp/Makefile,v 1.8 2010/04/06 12:01:56 garga Exp $ |
5 |
# $FreeBSD: ports/security/scamp/Makefile,v 1.8 2010/04/06 12:01:56 garga Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= scamp |
7 |
PORTNAME= scamp |
8 |
PORTVERSION= 5.2g |
8 |
PORTVERSION= 5.2j |
9 |
PORTREVISION= 1 |
|
|
10 |
CATEGORIES= security |
9 |
CATEGORIES= security |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
10 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
12 |
|
11 |
|
13 |
MAINTAINER= gerard@seibercom.net |
12 |
MAINTAINER= gerard@seibercom.net |
14 |
COMMENT= Download & Install additional definition files for Clamav |
13 |
COMMENT= Download & Install additional definition files for Clamav |
15 |
|
14 |
|
16 |
RUN_DEPENDS+= bash>=4.0.35:${PORTSDIR}/shells/bash \ |
15 |
RUN_DEPENDS+= bash>=4.1.5_2:${PORTSDIR}/shells/bash \ |
17 |
clamav>=0.95.3:${PORTSDIR}/security/clamav \ |
16 |
clamav>=0.96.1:${PORTSDIR}/security/clamav \ |
18 |
gnupg>=2.0.14:${PORTSDIR}/security/gnupg \ |
17 |
gnupg>=2.0.14_2:${PORTSDIR}/security/gnupg \ |
19 |
rsync>=3.0.7:${PORTSDIR}/net/rsync |
18 |
rsync>=3.0.7:${PORTSDIR}/net/rsync |
20 |
|
19 |
|
21 |
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) |
20 |
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) |
22 |
RUN_DEPENDS+= wget>=1.12:${PORTSDIR}/ftp/wget |
21 |
RUN_DEPENDS+= wget>=1.12:${PORTSDIR}/ftp/wget |
23 |
.else |
22 |
.else |
24 |
RUN_DEPENDS+= curl>=7.19.7_1:${PORTSDIR}/ftp/curl |
23 |
RUN_DEPENDS+= curl>=7.20.1:${PORTSDIR}/ftp/curl |
25 |
.endif |
24 |
.endif |
26 |
|
25 |
|
27 |
NO_BUILD= yes |
26 |
NO_BUILD= yes |
Lines 32-39
Link Here
|
32 |
MANCOMPRESSED= no |
31 |
MANCOMPRESSED= no |
33 |
|
32 |
|
34 |
post-patch: |
33 |
post-patch: |
35 |
@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh |
34 |
@${REINPLACE_CMD} -e 's|CLAMAV_DB=$${CLAMAV_DB:-""}|CLAMAV_DB=$${CLAMAV_DB:-\"/var/db/clamav\"}|g' ${WRKSRC}/${PORTNAME}.sh |
36 |
@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-${PREFIX}/etc/scamp}|g' ${WRKSRC}/${PORTNAME}.sh |
35 |
@${REINPLACE_CMD} -e 's|CONFIG_DIR=$${CONFIG_DIR:-"/etc/scamp"}|CONFIG_DIR=$${CONFIG_DIR:-\"${PREFIX}/etc/scamp\"}|g' ${WRKSRC}/${PORTNAME}.sh |
37 |
|
36 |
|
38 |
post-install: |
37 |
post-install: |
39 |
@if [ ! -d ${PREFIX}/etc/scamp ]; then \ |
38 |
@if [ ! -d ${PREFIX}/etc/scamp ]; then \ |