diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-26 11:30:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-26 11:30:05 +0000 |
commit | 9fb53d3fe9303c5acc7a904d554c7c3e4cf55a19 (patch) | |
tree | 2b7857323a51c45b0149cd2a3d59d87191c6c52a /security/clamtk | |
parent | - Add mirror for distfile (diff) |
- 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@dssgmbh.de
Approved by: maintainer timeout (tj, almost a year)
Notes
Notes:
svn path=/head/; revision=429492
Diffstat (limited to 'security/clamtk')
-rw-r--r-- | security/clamtk/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/clamtk/Makefile b/security/clamtk/Makefile index c52c7bc1072c..ebe9d9acc944 100644 --- a/security/clamtk/Makefile +++ b/security/clamtk/Makefile @@ -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} |