diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-26 19:30:05 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-26 19:30:05 +0800 |
commit | b14ec028f6d69f705dd07cf112b80bd87cf219a7 (patch) | |
tree | 2b7857323a51c45b0149cd2a3d59d87191c6c52a /security/clamtk | |
parent | 37ca386ee9f720d038a1ba086a7d610b9e7f38c1 (diff) | |
download | freebsd-ports-gnome-b14ec028f6d69f705dd07cf112b80bd87cf219a7.tar.gz freebsd-ports-gnome-b14ec028f6d69f705dd07cf112b80bd87cf219a7.tar.zst freebsd-ports-gnome-b14ec028f6d69f705dd07cf112b80bd87cf219a7.zip |
- 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)
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} |