Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 01:27:22 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338967 - head/sysutils/amrstat
Message-ID:  <201401070127.s071RMAw044960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Jan  7 01:27:22 2014
New Revision: 338967
URL: http://svnweb.freebsd.org/changeset/ports/338967

Log:
  Add license and stagefy.

Deleted:
  head/sysutils/amrstat/pkg-plist
Modified:
  head/sysutils/amrstat/Makefile

Modified: head/sysutils/amrstat/Makefile
==============================================================================
--- head/sysutils/amrstat/Makefile	Tue Jan  7 01:16:36 2014	(r338966)
+++ head/sysutils/amrstat/Makefile	Tue Jan  7 01:27:22 2014	(r338967)
@@ -10,10 +10,16 @@ MASTER_SITE_SUBDIR=	jkim
 MAINTAINER=	jkim@FreeBSD.org
 COMMENT=	Utility for LSI Logic's MegaRAID RAID controllers
 
+LICENSE=	BSD2CLAUSE
+
+PLIST_DIRSTRY=	etc/periodic/daily \
+		etc/periodic
+PLIST_FILES=	etc/periodic/daily/407.status-amr-raid \
+		sbin/amrstat
+
 OPTIONS_DEFINE=	MEGARC
 MEGARC_DESC=	Install LSI megarc binary port
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 # We may want this for periodic script and to actually be able
@@ -35,9 +41,9 @@ post-extract:
 	${RM} -f ${WRKSRC}/amrstat
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/amrstat ${PREFIX}/sbin
-	${MKDIR} ${PREFIX}/etc/periodic/daily
+	${INSTALL_PROGRAM} ${WRKSRC}/amrstat ${STAGEDIR}${PREFIX}/sbin
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} \
-	    ${PREFIX}/etc/periodic/daily
+	    ${STAGEDIR}${PREFIX}/etc/periodic/daily
 
 .include <bsd.port.mk>



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