svn commit: r340368 - head/sysutils/tw_cli
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jan 20 07:32:06 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list