f4567fd701
- Changelog: http://www.claws-mail.org/news.php Approved by: wen, miwi (mentors)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: claws-mail-clamd
|
|
# Date created: 2010-12-01
|
|
# Whom: Pawel Pekala <c0rn@o2.pl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= clamd
|
|
PORTVERSION= 3.5.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
|
|
PKGNAMEPREFIX= claws-mail-
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
COMMENT= This plugin scans messages using clamd (Clam AV)
|
|
|
|
BUILD_DEPENDS= claws-mail>=3.7.9:${PORTSDIR}/mail/claws-mail
|
|
RUN_DEPENDS= claws-mail>=3.7.9:${PORTSDIR}/mail/claws-mail \
|
|
clamd:${PORTSDIR}/security/clamav
|
|
|
|
LICENSE= GPLv3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_ICONV= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO}
|
|
@${ECHO_CMD} "********************************************************************************"
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD} "********************************************************************************"
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.mk>
|