|
Lines 5-11
Link Here
|
| 5 |
# $FreeBSD: ports/security/scamp/Makefile,v 1.2 2009/04/27 01:39:24 amdmi3 Exp $ |
5 |
# $FreeBSD: ports/security/scamp/Makefile,v 1.2 2009/04/27 01:39:24 amdmi3 Exp $ |
| 6 |
|
6 |
|
| 7 |
PORTNAME= scamp |
7 |
PORTNAME= scamp |
| 8 |
PORTVERSION= 5.2b |
8 |
PORTVERSION= 5.2c |
| 9 |
CATEGORIES= security |
9 |
CATEGORIES= security |
| 10 |
MASTER_SITES= SF |
10 |
MASTER_SITES= SF |
| 11 |
|
11 |
|
|
Lines 15-21
Link Here
|
| 15 |
RUN_DEPENDS+= bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ |
15 |
RUN_DEPENDS+= bash>=3.2.48_1:${PORTSDIR}/shells/bash3 \ |
| 16 |
clamav>=0.95.1:${PORTSDIR}/security/clamav \ |
16 |
clamav>=0.95.1:${PORTSDIR}/security/clamav \ |
| 17 |
gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ |
17 |
gnupg>=2.0.11:${PORTSDIR}/security/gnupg \ |
| 18 |
rsync>=3.0.5:${PORTSDIR}/net/rsync |
18 |
rsync>=3.0.6:${PORTSDIR}/net/rsync |
| 19 |
|
19 |
|
| 20 |
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) |
20 |
.if exists (${LOCALBASE}/bin/wget) && ! exists (${LOCALBASE}/bin/curl) |
| 21 |
RUN_DEPENDS+= wget>=1.11.4:${PORTSDIR}/ftp/wget |
21 |
RUN_DEPENDS+= wget>=1.11.4:${PORTSDIR}/ftp/wget |
|
Lines 31-38
Link Here
|
| 31 |
MANCOMPRESSED= no |
31 |
MANCOMPRESSED= no |
| 32 |
|
32 |
|
| 33 |
post-patch: |
33 |
post-patch: |
| 34 |
@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-"/var/db/clamav"}|g' ${WRKSRC}/${PORTNAME}.sh |
34 |
@${REINPLACE_CMD} -e 's|SIG_DB=$${SIG_DB:-""}|SIG_DB=$${SIG_DB:-/var/db/clamav}|g' ${WRKSRC}/${PORTNAME}.sh |
| 35 |
@${REINPLACE_CMD} -e 's|CONFIG_DIR="/etc/scamp"|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 |
| 36 |
|
36 |
|
| 37 |
post-install: |
37 |
post-install: |
| 38 |
@if [ ! -d ${PREFIX}/etc/scamp ]; then \ |
38 |
@if [ ! -d ${PREFIX}/etc/scamp ]; then \ |