Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 19:06:58 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339620 - head/sysutils/sg3_utils
Message-ID:  <201401131906.s0DJ6w74021200@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Mon Jan 13 19:06:58 2014
New Revision: 339620
URL: http://svnweb.freebsd.org/changeset/ports/339620

Log:
  - Convert to STAGING.
  - Strip installed .so libs.
  - Fix up shebang lines of scsi_* scripts.
  - USE_GMAKE -> USES=
  
  Approved by: portmgr@ (implicit, blanket)

Modified:
  head/sysutils/sg3_utils/Makefile   (contents, props changed)
  head/sysutils/sg3_utils/pkg-plist   (contents, props changed)

Modified: head/sysutils/sg3_utils/Makefile
==============================================================================
--- head/sysutils/sg3_utils/Makefile	Mon Jan 13 18:44:45 2014	(r339619)
+++ head/sysutils/sg3_utils/Makefile	Mon Jan 13 19:06:58 2014	(r339620)
@@ -10,60 +10,13 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	delphij@FreeBSD.org
 COMMENT=	Set of utilities that send SCSI commands to devices
 
-USE_GMAKE=	yes
+USES=		gmake shebangfix
+SHEBANG_FILES=	scripts/scsi_*
+
+post-install:
+		${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsgutils2.so.2
+
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
-MAN8=		scsi_mandat.8
-MAN8+=		scsi_readcap.8
-MAN8+=		scsi_ready.8
-MAN8+=		scsi_satl.8
-MAN8+=		scsi_start.8
-MAN8+=		scsi_stop.8
-MAN8+=		scsi_temperature.8
-MAN8+=		sg3_utils.8
-MAN8+=		sg_compare_and_write.8
-MAN8+=		sg_decode_sense.8
-MAN8+=		sg_format.8
-MAN8+=		sg_get_config.8
-MAN8+=		sg_get_lba_status.8
-MAN8+=		sg_ident.8
-MAN8+=		sg_inq.8
-MAN8+=		sg_logs.8
-MAN8+=		sg_luns.8
-MAN8+=		sg_modes.8
-MAN8+=		sg_opcodes.8
-MAN8+=		sg_persist.8
-MAN8+=		sg_prevent.8
-MAN8+=		sg_raw.8
-MAN8+=		sg_rdac.8
-MAN8+=		sg_read_block_limits.8
-MAN8+=		sg_read_buffer.8
-MAN8+=		sg_read_long.8
-MAN8+=		sg_readcap.8
-MAN8+=		sg_reassign.8
-MAN8+=		sg_referrals.8
-MAN8+=		sg_requests.8
-MAN8+=		sg_rmsn.8
-MAN8+=		sg_rtpg.8
-MAN8+=		sg_safte.8
-MAN8+=		sg_sanitize.8
-MAN8+=		sg_sat_identify.8
-MAN8+=		sg_sat_phy_event.8
-MAN8+=		sg_sat_set_features.8
-MAN8+=		sg_senddiag.8
-MAN8+=		sg_ses.8
-MAN8+=		sg_start.8
-MAN8+=		sg_stpg.8
-MAN8+=		sg_sync.8
-MAN8+=		sg_turs.8
-MAN8+=		sg_unmap.8
-MAN8+=		sg_verify.8
-MAN8+=		sg_vpd.8
-MAN8+=		sg_wr_mode.8
-MAN8+=		sg_write_buffer.8
-MAN8+=		sg_write_long.8
-MAN8+=		sg_write_same.8
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/sysutils/sg3_utils/pkg-plist
==============================================================================
--- head/sysutils/sg3_utils/pkg-plist	Mon Jan 13 18:44:45 2014	(r339619)
+++ head/sysutils/sg3_utils/pkg-plist	Mon Jan 13 19:06:58 2014	(r339620)
@@ -59,4 +59,54 @@ lib/libsgutils2.a
 lib/libsgutils2.la
 lib/libsgutils2.so
 lib/libsgutils2.so.2
+man/man8/scsi_mandat.8.gz
+man/man8/scsi_readcap.8.gz
+man/man8/scsi_ready.8.gz
+man/man8/scsi_satl.8.gz
+man/man8/scsi_start.8.gz
+man/man8/scsi_stop.8.gz
+man/man8/scsi_temperature.8.gz
+man/man8/sg3_utils.8.gz
+man/man8/sg_compare_and_write.8.gz
+man/man8/sg_decode_sense.8.gz
+man/man8/sg_format.8.gz
+man/man8/sg_get_config.8.gz
+man/man8/sg_get_lba_status.8.gz
+man/man8/sg_ident.8.gz
+man/man8/sg_inq.8.gz
+man/man8/sg_logs.8.gz
+man/man8/sg_luns.8.gz
+man/man8/sg_modes.8.gz
+man/man8/sg_opcodes.8.gz
+man/man8/sg_persist.8.gz
+man/man8/sg_prevent.8.gz
+man/man8/sg_raw.8.gz
+man/man8/sg_rdac.8.gz
+man/man8/sg_read_block_limits.8.gz
+man/man8/sg_read_buffer.8.gz
+man/man8/sg_read_long.8.gz
+man/man8/sg_readcap.8.gz
+man/man8/sg_reassign.8.gz
+man/man8/sg_referrals.8.gz
+man/man8/sg_requests.8.gz
+man/man8/sg_rmsn.8.gz
+man/man8/sg_rtpg.8.gz
+man/man8/sg_safte.8.gz
+man/man8/sg_sanitize.8.gz
+man/man8/sg_sat_identify.8.gz
+man/man8/sg_sat_phy_event.8.gz
+man/man8/sg_sat_set_features.8.gz
+man/man8/sg_senddiag.8.gz
+man/man8/sg_ses.8.gz
+man/man8/sg_start.8.gz
+man/man8/sg_stpg.8.gz
+man/man8/sg_sync.8.gz
+man/man8/sg_turs.8.gz
+man/man8/sg_unmap.8.gz
+man/man8/sg_verify.8.gz
+man/man8/sg_vpd.8.gz
+man/man8/sg_wr_mode.8.gz
+man/man8/sg_write_buffer.8.gz
+man/man8/sg_write_long.8.gz
+man/man8/sg_write_same.8.gz
 @dirrm include/scsi



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