aboutsummaryrefslogtreecommitdiffstats
path: root/security/avcheck
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-05-01 09:42:38 +0800
committeradamw <adamw@FreeBSD.org>2014-05-01 09:42:38 +0800
commit4193822cf8d93383dc8f9f6186609a67b2350005 (patch)
tree7d2afea24bed5487a0bed70a4ce863d70ee3d368 /security/avcheck
parentad2f39a8b4fdf5d89647810e8a01030f3f768456 (diff)
downloadfreebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.gz
freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.zst
freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.zip
STAGE support, and general cleanups. Some of the changes are a
bit more aggressive, but at this point, if I'm staging your port, you've likely stopped caring what's done to it.
Diffstat (limited to 'security/avcheck')
-rw-r--r--security/avcheck/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/security/avcheck/Makefile b/security/avcheck/Makefile
index a89dce171105..499253cc3866 100644
--- a/security/avcheck/Makefile
+++ b/security/avcheck/Makefile
@@ -9,30 +9,28 @@ MASTER_SITES= http://www.corpit.ru/ftp/avcheck/
MAINTAINER= dsh@vlink.ru
COMMENT= Simple antivirus solution for a mail system
-MAN1= avcheck.1
-
-PLIST_FILES= sbin/avcheck sbin/uchroot
+PLIST_FILES= man/man1/avcheck.1.gz sbin/avcheck sbin/uchroot
PORTDOCS= README.AVP README.AVP.de README.DrWeb README.Exim \
README.Postfix README.Postfix.de README.Sendmail eicar.msg \
eicar.txt
-NO_STAGE= yes
+PORT_OPTIONS= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's/^CC/#CC/g ; s/^CFLAGS/#CFLAGS/g' ${WRKSRC}/Makefile
do-install:
.for i in avcheck uchroot
- ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin/
.endfor
.for i in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1/
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif