Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 14:28:37 +0000 (UTC)
From:      Josh Paetzel <jpaetzel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332489 - head/sysutils/tw_cli
Message-ID:  <201311021428.rA2ESbqx007423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jpaetzel
Date: Sat Nov  2 14:28:37 2013
New Revision: 332489
URL: http://svnweb.freebsd.org/changeset/ports/332489

Log:
  Add stagedir support.
  Minor cleanup.
  
  PR:	ports/183458
  Submitted by:	Takefu <takefu@airport.fm>
  Sponsored by:	FOX Amateur Radio Club

Modified:
  head/sysutils/tw_cli/Makefile
  head/sysutils/tw_cli/pkg-descr
  head/sysutils/tw_cli/pkg-plist

Modified: head/sysutils/tw_cli/Makefile
==============================================================================
--- head/sysutils/tw_cli/Makefile	Sat Nov  2 14:28:26 2013	(r332488)
+++ head/sysutils/tw_cli/Makefile	Sat Nov  2 14:28:37 2013	(r332489)
@@ -10,32 +10,33 @@ DISTNAME=	cli_freebsd_10.2.1_9.5.4
 MAINTAINER=	jpaetzel@FreeBSD.org
 COMMENT=	3ware storage controllers management CLI
 
+EXTRACT_SUFX:=	.zip
+
 RESTRICTED=	Redistribution is not allowed
 # i386 binary should work on ia64, but not tested
 ONLY_FOR_ARCHS=	i386 amd64 ia64
 
-USE_ZIP=	yes
 WRKSRC=		${WRKDIR}
 NO_BUILD=	yes
 BINSUFFIX=	${ARCH:S,i386,x86,:S,amd64,x86_64,:S,ia64,x86,}
-SUB_FILES+=	407.status-3ware-raid
+SUB_FILES=	407.status-3ware-raid
 PORTDOCS=	tw_cli.8.html
-MAN8+=		tw_cli.8
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${BINSUFFIX}/tw_cli ${PREFIX}/sbin/
-	${INSTALL_MAN} ${WRKSRC}/tw_cli.8.nroff ${MANPREFIX}/man/man8/tw_cli.8
-	@${MKDIR} ${PREFIX}/etc/periodic/daily
+	${INSTALL_PROGRAM} ${WRKSRC}/${BINSUFFIX}/tw_cli\
+		${STAGEDIR}/${PREFIX}/sbin/
+	${INSTALL_MAN} ${WRKSRC}/tw_cli.8.nroff\
+		${STAGEDIR}/${MANPREFIX}/man/man8/tw_cli.8
+	@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKDIR}/407.status-3ware-raid \
-		${PREFIX}/etc/periodic/daily/
+		${STAGEDIR}/${PREFIX}/etc/periodic/daily/
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/tw_cli.8.html ${STAGEDIR}/${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/sysutils/tw_cli/pkg-descr
==============================================================================
--- head/sysutils/tw_cli/pkg-descr	Sat Nov  2 14:28:26 2013	(r332488)
+++ head/sysutils/tw_cli/pkg-descr	Sat Nov  2 14:28:37 2013	(r332489)
@@ -4,4 +4,4 @@ It provides controller, logical unit and
 be used in both interactive and batch mode, providing higher-level API
 (Application Programming Interface) functionalities.
 
-WWW:	http://3ware.com/support/download.asp
+WWW: http://3ware.com/support/download.asp

Modified: head/sysutils/tw_cli/pkg-plist
==============================================================================
--- head/sysutils/tw_cli/pkg-plist	Sat Nov  2 14:28:26 2013	(r332488)
+++ head/sysutils/tw_cli/pkg-plist	Sat Nov  2 14:28:37 2013	(r332489)
@@ -1,3 +1,4 @@
+man/man8/tw_cli.8.gz
 sbin/tw_cli
 etc/periodic/daily/407.status-3ware-raid
 @dirrmtry etc/periodic/daily



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