Add port security/clamtk:

ClamTk is a GUI front-end for ClamAV using gtk2-perl. It is designed to
be an easy-to-use frontend for Unix systems.

WWW: http://clamtk.sourceforge.net/
Author: Dave M <dave.nerd@gmail.com>
This commit is contained in:
Andrew Pantyukhin 2007-08-09 09:22:28 +00:00
parent 345b8cc79f
commit 19e642669c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197372
5 changed files with 76 additions and 0 deletions

View file

@ -72,6 +72,7 @@
SUBDIR += clamav-devel
SUBDIR += clamcour
SUBDIR += clamsmtp
SUBDIR += clamtk
SUBDIR += clusterssh
SUBDIR += cmd5checkpw
SUBDIR += courier-authlib

50
security/clamtk/Makefile Normal file
View file

@ -0,0 +1,50 @@
# New ports collection makefile for: clamtk
# Date created: 24 February 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= clamtk
PORTVERSION= 3.00
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= infofarmer@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 \
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};\
${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>

3
security/clamtk/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (clamtk-3.00.tar.gz) = d5dba14122a616d2eaca90925bf13f1a
SHA256 (clamtk-3.00.tar.gz) = 0de1e5273d6f0fa867ba146aa588174e746cf280c6b2df15435e9a2ccb86c8cd
SIZE (clamtk-3.00.tar.gz) = 91424

View file

@ -0,0 +1,5 @@
ClamTk is a GUI front-end for ClamAV using gtk2-perl. It is designed to
be an easy-to-use frontend for Unix systems.
WWW: http://clamtk.sourceforge.net/
Author: Dave M <dave.nerd@gmail.com>

17
security/clamtk/pkg-plist Normal file
View file

@ -0,0 +1,17 @@
bin/clamtk
share/applications/clamtk.desktop
share/locale/cs_CZ/LC_MESSAGES/clamtk.mo
share/locale/da/LC_MESSAGES/clamtk.mo
share/locale/de/LC_MESSAGES/clamtk.mo
share/locale/es/LC_MESSAGES/clamtk.mo
share/locale/fr/LC_MESSAGES/clamtk.mo
share/locale/it/LC_MESSAGES/clamtk.mo
share/locale/pl/LC_MESSAGES/clamtk.mo
share/locale/pt_BR/LC_MESSAGES/clamtk.mo
share/locale/ru/LC_MESSAGES/clamtk.mo
share/locale/sv/LC_MESSAGES/clamtk.mo
share/locale/zh_CN/LC_MESSAGES/clamtk.mo
share/pixmaps/clamtk.png
@dirrmtry share/applications
@dirrmtry share/locale/cs_CZ/LC_MESSAGES
@dirrmtry share/locale/cs_CZ