mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
More efforts to get some sort of working drweb32.ini initially
This commit is contained in:
parent
2529b03f49
commit
aa63296c24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46894
@ -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
|
||||
|
@ -68,7 +68,9 @@ drweb/doc/drwebd-api.rus
|
||||
drweb/drweb
|
||||
drweb/drweb.key
|
||||
drweb/drweb32.dll
|
||||
drweb/drweb32.ini.sample
|
||||
@unexec if [ -f %D/drweb/drweb32.ini ] && cmp -s %D/drweb/drweb32.ini %D/drweb/drweb32.ini-dist; then rm -f %D/drweb/drweb32.ini; fi
|
||||
drweb/drweb32.ini-dist
|
||||
@exec if [ ! -f %D/drweb/drweb32.ini ] ; then cp -p %D/%F %B/drweb32.ini; fi
|
||||
drweb/drwebase.vdb
|
||||
drweb/drwebd
|
||||
drweb/drwebd.key
|
||||
|
Loading…
Reference in New Issue
Block a user