summaryrefslogtreecommitdiffstats
path: root/security/drweb/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-24 23:23:36 +0000
committerache <ache@FreeBSD.org>2001-08-24 23:23:36 +0000
commit5fd446f8dbf6f5a4c5c175ad2b0393dba13766ad (patch)
treea31258ae03026732010a1805ff987baeac1ea2e8 /security/drweb/Makefile
parent7fe14e848e8d3ba66f908a81e0ae2661e08328b8 (diff)
downloadFreeBSD-ports-5fd446f8dbf6f5a4c5c175ad2b0393dba13766ad.zip
FreeBSD-ports-5fd446f8dbf6f5a4c5c175ad2b0393dba13766ad.tar.gz
Some efforts to make update.pl working
Diffstat (limited to 'security/drweb/Makefile')
-rw-r--r--security/drweb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index c42a7bd..7946c7e 100644
--- a/security/drweb/Makefile
+++ b/security/drweb/Makefile
@@ -16,6 +16,8 @@ MAINTAINER= anton@urc.ac.ru
NO_BUILD= YES
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/mach/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
+
DRWEB_PREFIX= ${PREFIX}/${PORTNAME}
do-install:
@@ -23,6 +25,7 @@ do-install:
${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} --exclude *.ini
${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini >${DRWEB_PREFIX}/drweb32.ini.sample
${SED} 's#!!PREFIX!!#${DRWEB_PREFIX}#' < ${FILESDIR}/drwebd.sh >${WRKSRC}/drwebd.sh
+ cd ${DRWEB_PREFIX}/update; patch < ${FILESDIR}/update-patch
${INSTALL_SCRIPT} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>
OpenPOWER on IntegriCloud