aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-08-03 23:26:30 +0800
committerpawel <pawel@FreeBSD.org>2014-08-03 23:26:30 +0800
commite69e9d3efe46ccd276242e21013f4964e6551b9d (patch)
tree4b66dfbd4d4956fb82205f25417910ad5f9a8e51 /sysutils
parent8948052dd8f99f4fb50a2f7d85a6e21c5c6de926 (diff)
downloadfreebsd-ports-gnome-e69e9d3efe46ccd276242e21013f4964e6551b9d.tar.gz
freebsd-ports-gnome-e69e9d3efe46ccd276242e21013f4964e6551b9d.tar.zst
freebsd-ports-gnome-e69e9d3efe46ccd276242e21013f4964e6551b9d.zip
Add staging support
Diffstat (limited to 'sysutils')
-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>