svn commit: r429492 - head/security/clamtk

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Dec 26 11:30:06 UTC 2016


Author: amdmi3
Date: Mon Dec 26 11:30:05 2016
New Revision: 429492
URL: https://svnweb.freebsd.org/changeset/ports/429492

Log:
  - Don't replace /usr/bin with ${LOCALBASE}/bin as it does need /usr/bin (to search for crontab) and still does fall back to search in /usr/local (for clamav binaries)
  - Ensure that /usr/local is raplaced with ${LOCALBASE}
  - Switch to options helpers
  
  PR:		205952
  Submitted by:	lhersch at dssgmbh.de
  Approved by:	maintainer timeout (tj, almost a year)

Modified:
  head/security/clamtk/Makefile

Modified: head/security/clamtk/Makefile
==============================================================================
--- head/security/clamtk/Makefile	Mon Dec 26 11:12:53 2016	(r429491)
+++ head/security/clamtk/Makefile	Mon Dec 26 11:30:05 2016	(r429492)
@@ -37,7 +37,7 @@ post-extract:
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|/usr/bin|${LOCALBASE}/bin|g ; \
+		's|/usr/local|${LOCALBASE}|g ; \
 		 s|/usr/share|${PREFIX}/share|g ; \
 		 s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/*.pm
 
@@ -55,6 +55,8 @@ do-install:
 		${INSTALL_DATA} ${WRKSRC}/po/$${l}.mo \
 		${STAGEDIR}${PREFIX}/share/locale/$${l}/LC_MESSAGES/${PORTNAME}.mo; \
 	done
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in CHANGES DISCLAIMER README
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list