summaryrefslogtreecommitdiffstats
path: root/security/drweb/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-01-04 07:13:24 +0000
committerache <ache@FreeBSD.org>2002-01-04 07:13:24 +0000
commitfaac52d8f36834e9d51fe09cb5da9d0036ea75bd (patch)
tree08f791cc795db3994c4cd7d51f2a30ecaa7805a8 /security/drweb/Makefile
parent2fc535d0df6af6511a3d97e653d3f8d60c169668 (diff)
downloadFreeBSD-ports-faac52d8f36834e9d51fe09cb5da9d0036ea75bd.zip
FreeBSD-ports-faac52d8f36834e9d51fe09cb5da9d0036ea75bd.tar.gz
Upgrade to 4.27
Diffstat (limited to 'security/drweb/Makefile')
-rw-r--r--security/drweb/Makefile26
1 files changed, 15 insertions, 11 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index 2c2550e..b7bdc29 100644
--- a/security/drweb/Makefile
+++ b/security/drweb/Makefile
@@ -6,32 +6,38 @@
#
PORTNAME= drweb
-PORTVERSION= 4.26c
-PORTREVISION= 2
+PORTVERSION= 4.27
CATEGORIES= security
-MASTER_SITES= http://www.drweb.ru/ftp/web_pub/
-DISTNAME= ${PORTNAME}d-${PORTVERSION}-freebsd4
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.drweb.ru/ftp/web_pub/ \
+ http://www.drweb.ru/ftp/update_free/freebsd4/
+DISTFILES= ${MAIN_NAME}.tgz \
+ drwebd_4.27_freebsd4_update.tgz
+EXTRACT_ONLY= ${MAIN_NAME}.tgz
MAINTAINER= anton@urc.ac.ru
NO_BUILD= YES
+WRKSRC= ${WRKDIR}/${MAIN_NAME}
+
# Needed for update.pl
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
+MAIN_NAME= ${PORTNAME}d-${PORTVERSION}-freebsd4
DRWEB_PREFIX= ${PREFIX}/${PORTNAME}
do-install:
-@install -dv -o ${BINOWN} -g ${BINGRP} ${DRWEB_PREFIX}
@cd ${DRWEB_PREFIX}; ${RM} -f drw*.txt drw*.vdb drweb drwebd
- ${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} \
+ ${TAR} -xzf ${WRKSRC}/${MAIN_NAME}.tar.gz -C ${DRWEB_PREFIX} \
--exclude *.ini --exclude *.key
- ${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini \
+ ${TAR} -xzf ${DISTDIR}/drwebd_4.27_freebsd4_update.tgz -C ${DRWEB_PREFIX} \
+ --exclude README
+ ${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drweb32.ini \
> ${DRWEB_PREFIX}/drweb32.ini-tmpl
- ${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb.key \
+ ${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drweb.key \
> ${DRWEB_PREFIX}/drweb.key-dist
- ${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drwebd.key \
+ ${TAR} -xzOf ${WRKSRC}/${MAIN_NAME}.tar.gz drwebd.key \
> ${DRWEB_PREFIX}/drwebd.key-dist
cd ${DRWEB_PREFIX}; \
${PATCH} -s < ${FILESDIR}/ini-patch && \
@@ -52,8 +58,6 @@ do-install:
${CP} ${DRWEB_PREFIX}/drwebd.key-dist \
${DRWEB_PREFIX}/drwebd.key; \
fi
- cd ${DRWEB_PREFIX}/update; \
- ${PATCH} -s < ${FILESDIR}/update-patch && ${RM} update.pl.orig
post-install:
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
OpenPOWER on IntegriCloud