1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/clamtk/Makefile
Renato Botelho 37c88c8e12 - Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
2008-09-15 19:56:38 +00:00

53 lines
1.6 KiB
Makefile

# New ports collection makefile for: clamtk
# Date created: 24 February 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= clamtk
PORTVERSION= 3.08
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK front-end for Clam Antivirus
RUN_DEPENDS= p5-Gtk2>=1.144:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-File-Find-Rule>=0.30:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-Date-Calc>=5.5.1:${PORTSDIR}/devel/p5-Date-Calc \
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext \
p5-Config-Tiny>=2.12:${PORTSDIR}/devel/p5-Config-Tiny \
clamscan:${PORTSDIR}/security/clamav
NO_BUILD= yes
USE_GETTEXT= yes
MAN1= ${PORTNAME}.1
PORTDOCS= CHANGES DISCLAIMER LICENSE README
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e '/command.*--un/d;/bin\/file/!s|/usr/bin|${LOCALBASE}/bin|g;\
s|/var/lib/clamav|/var/db/clamav|;s|/usr/share|${PREFIX}/share|g'\
${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
@${INSTALL} -d ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
@cd ${WRKSRC}/po/&&for i in *.mo;do\
${MKDIR} ${PREFIX}/share/locale/$${i%.mo}/LC_MESSAGES/;\
${INSTALL_DATA} $$i ${PREFIX}/share/locale/$${i%.mo}/LC_MESSAGES/${PORTNAME}.mo;\
done
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>