2000-02-13 03:25:05 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: vscan
|
|
|
|
# Date created: Thur Sept 25, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
1996-10-27 10:08:48 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1996-10-27 10:08:48 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= vscan
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 3.1.8
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= security
|
2000-04-21 08:19:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mcafee.com/pub/antivirus/unix/linux/ \
|
2000-06-17 00:14:42 +00:00
|
|
|
${MASTER_SITE_LOCAL:S^%SUBDIR%^steve^}
|
2000-04-09 18:34:06 +00:00
|
|
|
DISTNAME= nlxb318e
|
1999-03-30 01:55:29 +00:00
|
|
|
EXTRACT_SUFX= .tar
|
1996-10-27 10:08:48 +00:00
|
|
|
|
2000-02-13 03:25:05 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-10-27 10:08:48 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
1996-12-08 01:45:16 +00:00
|
|
|
RESTRICTED= "Commercial software"
|
1996-10-27 10:08:48 +00:00
|
|
|
|
1999-03-30 01:55:29 +00:00
|
|
|
LIBDIR= ${PREFIX}/lib/neta
|
1996-11-17 07:58:10 +00:00
|
|
|
MAN1= uvscan.1
|
1996-10-27 10:08:48 +00:00
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if defined(PREFIX) && ${PREFIX} != "/usr/local"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "This software has /usr/local hardcoded into it."
|
|
|
|
@${ECHO} "Sorry, but with PREFIX = ${PREFIX}, vscan will not work correctly."
|
|
|
|
@${ECHO} ""
|
1999-08-23 04:23:59 +00:00
|
|
|
@${FALSE}
|
1996-10-27 10:08:48 +00:00
|
|
|
.endif
|
|
|
|
|
1999-03-30 01:55:29 +00:00
|
|
|
post-extract:
|
2000-02-13 03:25:05 +00:00
|
|
|
cd ${WRKSRC} && tar xzf linux-elf.e.tar.Z
|
1999-03-30 01:55:29 +00:00
|
|
|
|
1996-10-27 10:08:48 +00:00
|
|
|
do-build::
|
|
|
|
|
|
|
|
# The binary executable file will be left unstripped as stripping the
|
|
|
|
# file will cause attempt to validate this file to fail.
|
|
|
|
do-install:
|
2000-02-13 03:25:05 +00:00
|
|
|
cd ${WRKSRC}; ./install-vscan
|
1996-10-27 10:08:48 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/uvscan
|
|
|
|
@${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${LIBDIR}
|
|
|
|
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/uvscan.1
|
1996-10-27 10:08:48 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-03-30 01:55:29 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/vscan
|
1996-10-27 10:08:48 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Whatsnew.txt ${PREFIX}/share/doc/vscan
|
1999-03-30 01:55:29 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Readme.1st ${PREFIX}/share/doc/vscan/vscan.LICENCE
|
1996-10-27 10:08:48 +00:00
|
|
|
.endif
|
|
|
|
@${ECHO} ""
|
|
|
|
@${CAT} ${PKGDIR}/DESCR
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|