aboutsummaryrefslogtreecommitdiff
path: root/sysutils/log_analysis
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-08-03 15:26:30 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-08-03 15:26:30 +0000
commit2ddd2dd959772aba6db343ca541072140c7e8f74 (patch)
tree4b66dfbd4d4956fb82205f25417910ad5f9a8e51 /sysutils/log_analysis
parentae70c668c51e8cc935c3e0b56cb1909d408bb9ab (diff)
downloadports-2ddd2dd959772aba6db343ca541072140c7e8f74.tar.gz
ports-2ddd2dd959772aba6db343ca541072140c7e8f74.zip
Notes
Diffstat (limited to 'sysutils/log_analysis')
-rw-r--r--sysutils/log_analysis/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/sysutils/log_analysis/Makefile b/sysutils/log_analysis/Makefile
index 52067e95f217..a705ce0cd9df 100644
--- a/sysutils/log_analysis/Makefile
+++ b/sysutils/log_analysis/Makefile
@@ -11,37 +11,28 @@ COMMENT= Utility that extracts a summary of useful data from logs
LICENSE= GPLv3
-OPTIONS_DEFINE= DOCS EXAMPLES TK
-
USES= perl5
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL="${PERL}"
-MAN1= log_analysis.1
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/log_analysis \
+ man/man1/log_analysis.1.gz \
%%DATADIR%%/AUTHORS \
%%DATADIR%%/Tk/resizebutton.pm
PLIST_DIRS= %%DATADIR%%/Tk \
%%DATADIR%%
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES TK
-.if ${PORT_OPTIONS:MTK}
-RUN_DEPENDS+= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk
-.endif
+TK_RUN_DEPENDS= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/Tutorial ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/Tutorial ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/sample-* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>