Bug 183458 - [PATCH] sysutils/tw_cli: fix StageDir
Summary: [PATCH] sysutils/tw_cli: fix StageDir
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Josh Paetzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 00:20 UTC by takefu
Modified: 2013-11-02 14:30 UTC (History)
1 user (show)

See Also:


Attachments
tw_cli-9.5.4.patch (2.27 KB, patch)
2013-10-30 00:20 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2013-10-30 00:20:00 UTC
fix
  StageDir
  pkg-descr tab to white space

Port maintainer (jpaetzel@FreeBSD.org) is cc'd.
Comment 1 Edwin Groothuis freebsd_committer 2013-10-30 00:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jpaetzel

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-11-02 14:28:45 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Josh Paetzel freebsd_committer 2013-11-02 14:28:59 UTC
State Changed
From-To: open->closed

Committed, thanks!