1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 4.45 and add stagedir support.

This commit is contained in:
Tom Judge 2014-02-21 21:19:09 +00:00
parent 0e5343fc8d
commit 82e317110e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345544
3 changed files with 16 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= clamtk
PORTVERSION= 4.44
PORTVERSION= 4.45
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/ClamTk/${PORTVERSION}
@ -30,7 +30,6 @@ MAN1= ${PORTNAME}.1
LINGUAS= `${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo`
NO_STAGE= yes
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
@ -41,23 +40,23 @@ post-patch:
s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/*.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
@${MKDIR} ${SITE_PERL}/ClamTk
${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${SITE_PERL}/ClamTk
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.xpm ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}-loader.gif ${PREFIX}/share/pixmaps
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${SITE_PERL}/ClamTk
${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${STAGEDIR}${SITE_PERL}/ClamTk
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}-loader.gif ${STAGEDIR}${PREFIX}/share/pixmaps
for l in ${LINGUAS}; do \
${MKDIR} ${PREFIX}/share/locale/$${l}/LC_MESSAGES; \
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/$${l}/LC_MESSAGES; \
${INSTALL_DATA} ${WRKSRC}/po/$${l}.mo \
${PREFIX}/share/locale/$${l}/LC_MESSAGES/${PORTNAME}.mo; \
${STAGEDIR}${PREFIX}/share/locale/$${l}/LC_MESSAGES/${PORTNAME}.mo; \
done
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in CHANGES DISCLAIMER README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

View File

@ -1,2 +1,2 @@
SHA256 (clamtk-4.44.tar.gz) = 337c5ad02e2497a62bec529a036a22871255aa90a7c7a209f299033c419887f0
SIZE (clamtk-4.44.tar.gz) = 555857
SHA256 (clamtk-4.45.tar.gz) = 6bd43a8b50bc203cb3b88ea6dd41a7aac5806ce1de7804391830a3c7793454e5
SIZE (clamtk-4.45.tar.gz) = 550938

View File

@ -1,4 +1,5 @@
bin/clamtk
man/man1/clamtk.1.gz
%%SITE_PERL%%/ClamTk/App.pm
%%SITE_PERL%%/ClamTk/Device.pm
%%SITE_PERL%%/ClamTk/GUI.pm