1996-10-27 10:08:48 +00:00
|
|
|
# New ports collection makefile for: vscan
|
|
|
|
# Version required: 1.0.2
|
|
|
|
# Date created: Thur Sept 25, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
|
|
|
#
|
1998-12-10 00:40:24 +00:00
|
|
|
# $Id: Makefile,v 1.6 1997/10/10 06:53:45 obrien Exp $
|
1996-10-27 10:08:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= vfrb101e
|
|
|
|
PKGNAME= vscan-1.0.2
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= security
|
1997-05-28 05:52:46 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mcafee.com/pub/antivirus/unix/freebsd/
|
1996-10-27 10:08:48 +00:00
|
|
|
EXTRACT_SUFX= .taz
|
|
|
|
|
1997-10-10 06:53:48 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-10-27 10:08:48 +00:00
|
|
|
|
1998-12-10 00:40:24 +00:00
|
|
|
BROKEN= distfile no longer available
|
|
|
|
|
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
|
|
|
|
|
|
|
LIBDIR= ${PREFIX}/lib/mcafee
|
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} ""
|
|
|
|
@false
|
|
|
|
.endif
|
|
|
|
|
|
|
|
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:
|
|
|
|
(cd ${WRKSRC}; ./Install-vscan)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@/usr/sbin/chown ${BINOWN}.${BINGRP} ${PREFIX}/bin/uvscan
|
|
|
|
@/usr/sbin/chown -R ${SHAREOWN}.${SHAREGRP} ${LIBDIR}
|
|
|
|
@/usr/sbin/chown ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/uvscan.1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} -p ${PREFIX}/share/doc/vscan
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Whatsnew.txt ${PREFIX}/share/doc/vscan
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.1ST ${PREFIX}/share/doc/vscan/vscan.LICENCE
|
|
|
|
.endif
|
|
|
|
@${ECHO} ""
|
|
|
|
@${CAT} ${PKGDIR}/DESCR
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|