|
Lines 9-15
Link Here
|
| 9 |
PORTVERSION= 0.54 |
9 |
PORTVERSION= 0.54 |
| 10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 1 |
| 11 |
CATEGORIES= security |
11 |
CATEGORIES= security |
| 12 |
MASTER_SITES= http://clamav.elektrapro.com/stable/ |
12 |
MASTER_SITES= http://clamav.elektrapro.com/stable/ \ |
|
|
13 |
http://clamav.essentkabel.com/stable/ |
| 14 |
|
| 13 |
|
15 |
|
| 14 |
MAINTAINER= markun@onohara.to |
16 |
MAINTAINER= markun@onohara.to |
| 15 |
COMMENT= Command line virus scanner written entirely in C |
17 |
COMMENT= Command line virus scanner written entirely in C |
|
Lines 36-47
Link Here
|
| 36 |
|
38 |
|
| 37 |
.include <bsd.port.pre.mk> |
39 |
.include <bsd.port.pre.mk> |
| 38 |
|
40 |
|
| 39 |
.if ${OSVERSION} >= 500000 |
|
|
| 40 |
EXTRA_PATCHES= ${FILESDIR}/patch5-* |
| 41 |
.endif |
| 42 |
|
| 43 |
pre-install: |
41 |
pre-install: |
| 44 |
@${ECHO} "==> Creating custom user to run clamav..." |
42 |
@${ECHO} "===> Creating custom user to run clamav..." |
| 45 |
# ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |
43 |
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL |
|
|
44 |
|
| 45 |
post-install: |
| 46 |
@${ECHO} "===> Setting permissions..." |
| 47 |
@${SETENV} PKG_PREFIX=${PREFIX} ${sh} \ |
| 48 |
${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL |
| 46 |
|
49 |
|
| 47 |
.include <bsd.port.post.mk> |
50 |
.include <bsd.port.post.mk> |