Lines 31-37
Link Here
|
31 |
MAKE_JOBS_SAFE= yes |
31 |
MAKE_JOBS_SAFE= yes |
32 |
USE_LDCONFIG= yes |
32 |
USE_LDCONFIG= yes |
33 |
USE_RC_SUBR= clamav-clamd clamav-freshclam |
33 |
USE_RC_SUBR= clamav-clamd clamav-freshclam |
34 |
CONF_FILES= clamd freshclam |
34 |
CLAM_CONF_FILES= clamd freshclam |
35 |
|
35 |
|
36 |
LICENSE= GPLv2 |
36 |
LICENSE= GPLv2 |
37 |
|
37 |
|
Lines 159-165
Link Here
|
159 |
|
159 |
|
160 |
.if defined(WITH_MILTER) |
160 |
.if defined(WITH_MILTER) |
161 |
USE_RC_SUBR+= clamav-milter |
161 |
USE_RC_SUBR+= clamav-milter |
162 |
CONF_FILES+= clamav-milter |
162 |
CLAM_CONF_FILES+= clamav-milter |
163 |
. if defined(WITH_LDAP) && exists(${LOCALBASE}/lib/libldap.so) |
163 |
. if defined(WITH_LDAP) && exists(${LOCALBASE}/lib/libldap.so) |
164 |
USE_OPENLDAP= yes |
164 |
USE_OPENLDAP= yes |
165 |
LDFLAGS+= -lldap |
165 |
LDFLAGS+= -lldap |
Lines 236-242
Link Here
|
236 |
|
236 |
|
237 |
post-install: |
237 |
post-install: |
238 |
${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include |
238 |
${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include |
239 |
.for c in ${CONF_FILES} |
239 |
.for c in ${CLAM_CONF_FILES} |
240 |
@[ -f ${PREFIX}/etc/${c}.conf ] || \ |
240 |
@[ -f ${PREFIX}/etc/${c}.conf ] || \ |
241 |
${CP} -v ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf |
241 |
${CP} -v ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf |
242 |
.endfor |
242 |
.endfor |