Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 15:26:31 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363912 - head/sysutils/log_analysis
Message-ID:  <53de54a7.5a0e.24b8bca7@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Aug  3 15:26:30 2014
New Revision: 363912
URL: http://svnweb.freebsd.org/changeset/ports/363912
QAT: https://qat.redports.org/buildarchive/r363912/

Log:
  Add staging support

Modified:
  head/sysutils/log_analysis/Makefile

Modified: head/sysutils/log_analysis/Makefile
==============================================================================
--- head/sysutils/log_analysis/Makefile	Sun Aug  3 15:25:54 2014	(r363911)
+++ head/sysutils/log_analysis/Makefile	Sun Aug  3 15:26:30 2014	(r363912)
@@ -11,37 +11,28 @@ COMMENT=	Utility that extracts a summary
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53de54a7.5a0e.24b8bca7>