From 07b0b895e7aacc7c9057ad21d1e7a12b962cc9d9 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 25 Aug 2001 16:31:39 +0000 Subject: More efforts to get some sort of working drweb32.ini initially --- security/drweb/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'security/drweb/Makefile') diff --git a/security/drweb/Makefile b/security/drweb/Makefile index bcb629917568..40a261cda4cc 100644 --- a/security/drweb/Makefile +++ b/security/drweb/Makefile @@ -24,7 +24,13 @@ DRWEB_PREFIX= ${PREFIX}/${PORTNAME} do-install: -@${MKDIR} -v ${DRWEB_PREFIX} ${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} --exclude *.ini - ${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini >${DRWEB_PREFIX}/drweb32.ini.sample + ${TAR} -xzOf ${WRKSRC}/${DISTNAME}.tar.gz drweb32.ini | \ + ${SED} 's#__INSTALL_DIR__#${DRWEB_PREFIX}#' \ + > ${DRWEB_PREFIX}/drweb32.ini-dist + if [ ! -f ${DRWEB_PREFIX}/drweb32.ini ] ; then \ + ${CP} ${DRWEB_PREFIX}/drweb32.ini-dist \ + ${DRWEB_PREFIX}/drweb32.ini; \ + fi ${SED} 's#!!PREFIX!!#${DRWEB_PREFIX}#' < ${FILESDIR}/drwebd.sh >${WRKSRC}/drwebd.sh cd ${DRWEB_PREFIX}/update; patch -s < ${FILESDIR}/update-patch && ${RM} update.pl.orig ${INSTALL_DATA} ${WRKSRC}/drwebd.sh ${PREFIX}/etc/rc.d/drwebd.sh-dist -- cgit