Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 07:32:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340368 - head/sysutils/tw_cli
Message-ID:  <201401200732.s0K7W6OA041690@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 20 07:32:06 2014
New Revision: 340368
URL: http://svnweb.freebsd.org/changeset/ports/340368
QAT: https://qat.redports.org/buildarchive/r340368/

Log:
  Cosmetic changes:
  - .pre.mk should not been used without a .post.mk, in this case it worked by
    changes, it is better not to promote this usage
  - Always install DOCS and let stage decide what should be packed, this allows us
    not to include bsd.port.options.mk while DOCS is still respected.

Modified:
  head/sysutils/tw_cli/Makefile

Modified: head/sysutils/tw_cli/Makefile
==============================================================================
--- head/sysutils/tw_cli/Makefile	Mon Jan 20 04:45:49 2014	(r340367)
+++ head/sysutils/tw_cli/Makefile	Mon Jan 20 07:32:06 2014	(r340368)
@@ -10,7 +10,7 @@ DISTNAME=	cli_freebsd_10.2.1_9.5.4
 MAINTAINER=	jpaetzel@FreeBSD.org
 COMMENT=	3ware storage controllers management CLI
 
-EXTRACT_SUFX:=	.zip
+EXTRACT_SUFX=	.zip
 
 RESTRICTED=	Redistribution is not allowed
 # i386 binary should work on ia64, but not tested
@@ -22,8 +22,6 @@ BINSUFFIX=	${ARCH:S,i386,x86,:S,amd64,x8
 SUB_FILES=	407.status-3ware-raid
 PORTDOCS=	tw_cli.8.html
 
-.include <bsd.port.pre.mk>
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${BINSUFFIX}/tw_cli\
 		${STAGEDIR}/${PREFIX}/sbin/
@@ -32,11 +30,7 @@ do-install:
 	@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKDIR}/407.status-3ware-raid \
 		${STAGEDIR}/${PREFIX}/etc/periodic/daily/
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${STAGEDIR}/${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401200732.s0K7W6OA041690>