diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 20:57:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 20:57:22 +0000 |
commit | 5d3baae895009e29ff3b00e7ed3fdb7351ea22b0 (patch) | |
tree | baa46c5da4325acfa660e799f4320eab394382fe /security/uvscan | |
parent | b91ba669e7503df4eb317592d5f86d26787be7ec (diff) | |
download | pkgsrc-5d3baae895009e29ff3b00e7ed3fdb7351ea22b0.tar.gz |
DESTDIR support
Diffstat (limited to 'security/uvscan')
-rw-r--r-- | security/uvscan/Makefile | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/security/uvscan/Makefile b/security/uvscan/Makefile index 0db2a750065..ca3e46439f9 100644 --- a/security/uvscan/Makefile +++ b/security/uvscan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2009/05/19 08:59:33 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2010/01/27 21:13:11 joerg Exp $ DISTNAME= vlp4510e PKGNAME= uvscan-5.10 @@ -12,6 +12,8 @@ HOMEPAGE= http://www.mcafee.com/us/enterprise/products/anti_virus/file_servers_ COMMENT= Evaluation version of a DOS/Windows file virus scanner LICENSE= uvscan-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= restrictive 30 day evaluation license NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} @@ -39,7 +41,8 @@ CONF_FILES+= ${EGDATDIR}/names.dat ${UVSCANDIR}/names.dat CONF_FILES+= ${EGDATDIR}/scan.dat ${UVSCANDIR}/scan.dat REQD_DIRS= ${UVSCANDIR} -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 sbin +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 sbin ${EGDATDIR} ${DOCDIR} \ + ${UVSCANDIR} USE_TOOLS+= gtar:run @@ -54,24 +57,22 @@ post-extract: ${CP} ${FILESDIR}/uvscan.sh ${WRKSRC}/uvscan.sh do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/update_dat.sh ${PREFIX}/sbin/update_dat - ${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${UVSCANDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${PREFIX}/bin/uvscan - ${INSTALL_DATA} ${WRKSRC}/liblnxfv.so.4 ${UVSCANDIR} - ${LN} -s liblnxfv.so.4 ${UVSCANDIR}/liblnxfv.so + ${INSTALL_SCRIPT} ${WRKSRC}/update_dat.sh ${DESTDIR}${PREFIX}/sbin/update_dat + ${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${DESTDIR}${UVSCANDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/uvscan.sh ${DESTDIR}${PREFIX}/bin/uvscan + ${INSTALL_DATA} ${WRKSRC}/liblnxfv.so.4 ${DESTDIR}${UVSCANDIR} + ${LN} -s liblnxfv.so.4 ${DESTDIR}${UVSCANDIR}/liblnxfv.so for file in license.dat messages.dat; do \ - ${INSTALL_DATA} ${WRKSRC}/$${file} ${UVSCANDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${UVSCANDIR}; \ done - ${INSTALL_DATA_DIR} ${EGDATDIR} for file in ${DATFILES}; do \ if [ -f ${WRKSRC}/$${file} ]; then \ - ${INSTALL_DATA} ${WRKSRC}/$${file} ${EGDATDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${EGDATDIR}; \ fi; \ done - ${INSTALL_DATA_DIR} ${DOCDIR} for file in contact.txt e5100upg.pdf license.txt ; do \ - ${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" |