diff options
Diffstat (limited to 'sysutils/logwatch/Makefile')
-rw-r--r-- | sysutils/logwatch/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sysutils/logwatch/Makefile b/sysutils/logwatch/Makefile index ffb6e44..858a9bf 100644 --- a/sysutils/logwatch/Makefile +++ b/sysutils/logwatch/Makefile @@ -20,11 +20,10 @@ USE_PERL5= run SHEBANG_FILES= scripts/logwatch.pl PORTDOCS= HOWTO-Customize-LogWatch README NO_BUILD= yes +NO_ARCH= yes MAKE_ENV+= SITE_PERL_REL=${SITE_PERL_REL} OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - pre-configure: @${CP} ${FILESDIR}/Makefile ${WRKSRC} @@ -44,11 +43,9 @@ post-patch: -e "s,/var/cache/logwatch,${LOCALBASE}/var/${PORTNAME}," \ ${WRKSRC}/conf/logwatch.conf -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/HOWTO-Customize-LogWatch ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif + ${INSTALL_DATA} ${WRKSRC}/HOWTO-Customize-LogWatch ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |