summaryrefslogtreecommitdiff
path: root/security/fprot-workstation-bin/Makefile
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-01-07 18:47:00 +0000
committerben <ben@pkgsrc.org>2004-01-07 18:47:00 +0000
commit2b7ba698571173c996fb5b021c0f26d503469962 (patch)
tree117593123d3129b00f411977b966acb92d477263 /security/fprot-workstation-bin/Makefile
parent17dccc0d2f27226b12556cca6fa8d021e783cab6 (diff)
downloadpkgsrc-2b7ba698571173c996fb5b021c0f26d503469962.tar.gz
Add security/fprot-workstation-bin-4.3.1, which used to be fp-netbsd-ws.
This is the F-prot antivirus for home users.
Diffstat (limited to 'security/fprot-workstation-bin/Makefile')
-rw-r--r--security/fprot-workstation-bin/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/security/fprot-workstation-bin/Makefile b/security/fprot-workstation-bin/Makefile
new file mode 100644
index 00000000000..006caec131a
--- /dev/null
+++ b/security/fprot-workstation-bin/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/07 18:47:00 ben Exp $
+#
+
+DISTNAME= fp-netbsd-ws-4.3.1
+PKGNAME= fprot-workstation-bin-4.3.1
+WRKSRC= ${WRKDIR}/f-prot
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.f-prot.com/pub/bsd/
+
+MAINTAINER= ben@NetBSD.org
+HOMEPAGE= http://www.f-prot.com/products/home_use/bsd/
+COMMENT= F-prot antivirus for home users
+
+DEPENDS+= p5-libwww>=5.69:../../www/p5-libwww
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+RESTRICTED= "Redistribution not permitted"
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+LICENSE= fprot-workstation-license
+
+NO_BUILD= yes
+USE_BUILDLINK2= yes
+
+post-patch:
+ cd ${WRKSRC}/tools && ${MV} check-updates.pl check-updates.pl.bak
+ ${SED} -e "s,/usr/local/f-prot,${PREFIX}/lib/fprot-workstation-bin,g" \
+ -e "s,/usr/bin/perl,${PREFIX}/bin/perl,g"\
+ <${WRKSRC}/tools/check-updates.pl.bak \
+ >${WRKSRC}/tools/check-updates.pl
+ ${MV} ${WRKSRC}/f-prot.sh ${WRKSRC}/f-prot.sh.bak
+ ${SED} -e "s,/usr/local/f-prot,${PREFIX}/lib/fprot-workstation-bin," \
+ <${WRKSRC}/f-prot.sh.bak \
+ >${WRKSRC}/f-prot.sh
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/f-prot.sh ${PREFIX}/bin/f-prot
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/check-updates.pl ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/man_pages/check-updates.pl.8 ${PREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/man_pages/f-prot.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/fprot-workstation-bin
+ ${INSTALL_DATA} ${WRKSRC}/*.DEF ${PREFIX}/lib/fprot-workstation-bin
+ ${INSTALL_DATA} ${WRKSRC}/ENGLISH.TX0 \
+ ${PREFIX}/lib/fprot-workstation-bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/f-prot ${PREFIX}/lib/fprot-workstation-bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fprot-workstation-bin
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/CHANGES \
+ ${PREFIX}/share/doc/fprot-workstation-bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/fprot-workstation-bin
+ ${INSTALL_DATA} ${WRKSRC}/doc_ws/* \
+ ${PREFIX}/share/doc/html/fprot-workstation-bin
+
+.include "../../lang/perl5/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"