View | Details | Raw Unified | Return to bug 57404
Collapse All | Expand All

(-)clamav-devel/Makefile (-11 / +7 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	clamav
8
PORTNAME=	clamav
9
PORTVERSION=	20030928
9
PORTVERSION=	20030930
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://clamav.sourceforge.net/snapshot/
11
MASTER_SITES=	http://clamav.sourceforge.net/snapshot/
12
PKGNAMESUFFIX=	-devel
12
PKGNAMESUFFIX=	-devel
Lines 29-35 Link Here
29
USE_LIBTOOL=	yes
29
USE_LIBTOOL=	yes
30
INSTALLS_SHLIB=	yes
30
INSTALLS_SHLIB=	yes
31
31
32
CONFIGURE_ARGS=	--prefix=${PREFIX} \
32
CONFIGURE_ARGS=	--with-dbdir=${DATADIR} \
33
		--disable-clamav --enable-bigstack
33
		--disable-clamav --enable-bigstack
34
CFLAGS+=	-I${LOCALBASE}/include
34
CFLAGS+=	-I${LOCALBASE}/include
35
LDFLAGS+=	${PTHREAD_LIBS}
35
LDFLAGS+=	${PTHREAD_LIBS}
Lines 39-49 Link Here
39
MAN5=		clamav.conf.5
39
MAN5=		clamav.conf.5
40
MAN8=		clamd.8
40
MAN8=		clamd.8
41
41
42
CLAMAVUSER?=    clamav
42
CLAMAVUSER?=	clamav
43
CLAMAVGROUP?=   clamav
43
CLAMAVGROUP?=	clamav
44
44
45
PLIST_SUB+=     CLAMAVUSER="${CLAMAVUSER}"
45
PLIST_SUB+=	CLAMAVUSER="${CLAMAVUSER}"
46
PLIST_SUB+=     CLAMAVGROUP="${CLAMAVGROUP}"
46
PLIST_SUB+=	CLAMAVGROUP="${CLAMAVGROUP}"
47
47
48
SED_SCRIPT=	-e 's|%%PREFIX%%|${PREFIX}|g' \
48
SED_SCRIPT=	-e 's|%%PREFIX%%|${PREFIX}|g' \
49
		-e 's|%%DATADIR%%|${DATADIR}|g'
49
		-e 's|%%DATADIR%%|${DATADIR}|g'
Lines 85-94 Link Here
85
	@${REINPLACE_CMD} -e 's|clamav.conf|&.default|' \
85
	@${REINPLACE_CMD} -e 's|clamav.conf|&.default|' \
86
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
86
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
87
		${CONFIGURE_WRKSRC}/etc/Makefile.in
87
		${CONFIGURE_WRKSRC}/etc/Makefile.in
88
.ifdef USE_LIBTOOL_VER
89
	@${REINPLACE_CMD} -e '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
90
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
91
.endif
92
88
93
post-build:
89
post-build:
94
	@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf \
90
	@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf \
Lines 96-102 Link Here
96
92
97
pre-install:
93
pre-install:
98
	 ${SETENV} PKG_PREFIX=${PREFIX} \
94
	 ${SETENV} PKG_PREFIX=${PREFIX} \
99
                ${SH} ${PKGINSTALL} ${PREFIX}
95
		${SH} ${PKGINSTALL} ${PREFIX}
100
96
101
post-install:
97
post-install:
102
	@[ -f ${PREFIX}/etc/clamav.conf ] || \
98
	@[ -f ${PREFIX}/etc/clamav.conf ] || \
(-)clamav-devel/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (clamav-devel-20030928.tar.gz) = 72bb345563a2e31ac70e9f90b2954cac
1
MD5 (clamav-devel-20030930.tar.gz) = 7c15623dc0750f64431ee692a0046d6e

Return to bug 57404