mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
|
# 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)
|
||
|
#
|
||
|
# $Id: Makefile,v 1.1.1.1 1996/08/16 07:23:00 asami Exp $
|
||
|
#
|
||
|
|
||
|
DISTNAME= vfrb101e
|
||
|
PKGNAME= vscan-1.0.2
|
||
|
CATEGORIES+= security
|
||
|
MASTER_SITES= ftp://ftp.mcafee.com/pub/antivirus/
|
||
|
EXTRACT_SUFX= .taz
|
||
|
|
||
|
MAINTAINER= obrien@cs.ucdavis.edu
|
||
|
|
||
|
NO_WRKSUBDIR= yes
|
||
|
RESTRICTED= "Commercial software."
|
||
|
|
||
|
LIBDIR= ${PREFIX}/lib/mcafee
|
||
|
|
||
|
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(NOMANCOMPRESS)
|
||
|
.for mp in uvscan
|
||
|
gzip -9nf ${PREFIX}/man/man1/${mp}.1
|
||
|
.endfor
|
||
|
.endif
|
||
|
.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>
|