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