Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 03:12:42 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333273 - in head/sysutils: clonehdd/files devcpu-data dim dolly dwatch
Message-ID:  <201311090312.rA93CgnM079063@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Nov  9 03:12:42 2013
New Revision: 333273
URL: http://svnweb.freebsd.org/changeset/ports/333273

Log:
  Support STAGEDIR.

Added:
  head/sysutils/devcpu-data/pkg-plist   (contents, props changed)
  head/sysutils/dolly/pkg-plist   (contents, props changed)
Deleted:
  head/sysutils/clonehdd/files/
Modified:
  head/sysutils/devcpu-data/Makefile
  head/sysutils/dim/Makefile
  head/sysutils/dolly/Makefile
  head/sysutils/dwatch/Makefile

Modified: head/sysutils/devcpu-data/Makefile
==============================================================================
--- head/sysutils/devcpu-data/Makefile	Sat Nov  9 00:23:44 2013	(r333272)
+++ head/sysutils/devcpu-data/Makefile	Sat Nov  9 03:12:42 2013	(r333273)
@@ -17,10 +17,7 @@ NO_BUILD=	yes
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-DATADIR=	${PREFIX}/share/cpucontrol
+DATADIR=	${STAGEDIR}${PREFIX}/share/cpucontrol
 
 USE_RC_SUBR=	microcode_update
 
@@ -29,9 +26,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/mcodes/* ${DATADIR}/
 	@${TOUCH} ${DATADIR}/.do_not_delete
 
-post-install:
-	@${FIND} -ds ${DATADIR}/ ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec rmdir %D/${DATADIR:S,^${PREFIX},,}" >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/sysutils/devcpu-data/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/devcpu-data/pkg-plist	Sat Nov  9 03:12:42 2013	(r333273)
@@ -0,0 +1,252 @@
+share/cpucontrol/.do_not_delete
+share/cpucontrol/1068-m01f122d.fw
+share/cpucontrol/1069-m04f122e.fw
+share/cpucontrol/1070-m02f122f.fw
+share/cpucontrol/1072-m04f1305.fw
+share/cpucontrol/1105-m08f2420.fw
+share/cpucontrol/1142-m02f2205.fw
+share/cpucontrol/1143-m02f110a.fw
+share/cpucontrol/1319-m206d820.fw
+share/cpucontrol/1381-m9df4112.fw
+share/cpucontrol/1382-m20f4111.fw
+share/cpucontrol/146-MU16502e.fw
+share/cpucontrol/147-MU16502f.fw
+share/cpucontrol/153-d2_619.fw
+share/cpucontrol/1584-m02f480b.fw
+share/cpucontrol/1854-m86d821.fw
+share/cpucontrol/2071-m16f6c6.fw
+share/cpucontrol/2074-m106f766.fw
+share/cpucontrol/2077-m16f256.fw
+share/cpucontrol/2096-m806fa92.fw
+share/cpucontrol/2098-m806fda1.fw
+share/cpucontrol/2099-m16fda1.fw
+share/cpucontrol/2101-m016fbB3.fw
+share/cpucontrol/2102-m086fbB3.fw
+share/cpucontrol/2103-m106fbB3.fw
+share/cpucontrol/2106-m046fbB4.fw
+share/cpucontrol/2107-m406fbB4.fw
+share/cpucontrol/2109-m021066131.fw
+share/cpucontrol/2110-m011066132.fw
+share/cpucontrol/2111-m801066133.fw
+share/cpucontrol/2127-m206f6c7.fw
+share/cpucontrol/2129-m206f257.fw
+share/cpucontrol/2149-m46f6c9.fw
+share/cpucontrol/2151-m406f767.fw
+share/cpucontrol/2174-m041066136.fw
+share/cpucontrol/2185-m04f650b.fw
+share/cpucontrol/2334-m016fbB6.fw
+share/cpucontrol/2335-m086fbB6.fw
+share/cpucontrol/2336-m106fbB6.fw
+share/cpucontrol/2337-m806fbB6.fw
+share/cpucontrol/2339-m046fbB7.fw
+share/cpucontrol/2340-m406fbB7.fw
+share/cpucontrol/2346-m16fda3.fw
+share/cpucontrol/2347-m206fda3.fw
+share/cpucontrol/2348-m806fda3.fw
+share/cpucontrol/2360-m011066138.fw
+share/cpucontrol/2374-m16f6cb.fw
+share/cpucontrol/2375-m206f6cc.fw
+share/cpucontrol/2376-m46f6cd.fw
+share/cpucontrol/2380-m106f768.fw
+share/cpucontrol/2381-m406f769.fw
+share/cpucontrol/2385-m806fa94.fw
+share/cpucontrol/2389-m16f25a.fw
+share/cpucontrol/2457-M01106C1109.fw
+share/cpucontrol/2494-m041067660B.fw
+share/cpucontrol/2495-m101067660B.fw
+share/cpucontrol/2496-m401067660B.fw
+share/cpucontrol/2497-m041067660C.fw
+share/cpucontrol/2498-m101067660C.fw
+share/cpucontrol/2499-m401067660C.fw
+share/cpucontrol/2500-m1010677703.fw
+share/cpucontrol/2501-m801067660C.fw
+share/cpucontrol/2502-m011067660B.fw
+share/cpucontrol/2524-m08106d110.fw
+share/cpucontrol/2598-M01106C2207.fw
+share/cpucontrol/2617-m111067AA07.fw
+share/cpucontrol/2618-m441067AA07.fw
+share/cpucontrol/2619-mA01067AA07.fw
+share/cpucontrol/2623-m011067660C.fw
+share/cpucontrol/2626-m1010677705.fw
+share/cpucontrol/2660-m08106d121.fw
+share/cpucontrol/2779-M04106C2212.fw
+share/cpucontrol/2780-M01106C2211.fw
+share/cpucontrol/2828-M08106C2213.fw
+share/cpucontrol/2934-m03106a4_00000010.fw
+share/cpucontrol/2935-m03106a5_0000000f.fw
+share/cpucontrol/2986-m086fbB8.fw
+share/cpucontrol/2990-m046fbB9.fw
+share/cpucontrol/2991-m406fbB9.fw
+share/cpucontrol/2f0708.fw
+share/cpucontrol/3014-m13106e5_00000003.fw
+share/cpucontrol/3025-m08106d126.fw
+share/cpucontrol/308-MU163336.fw
+share/cpucontrol/309-MU163437.fw
+share/cpucontrol/3180-m1220652_00000009.fw
+share/cpucontrol/3194-m04206e6_00000002.fw
+share/cpucontrol/3271-m03106a5_00000015.fw
+share/cpucontrol/3301-m04206e6_00000007.fw
+share/cpucontrol/3341-m03206c2_0000000f.fw
+share/cpucontrol/3440-m03206c2_00000013.fw
+share/cpucontrol/368-bu27_fb.fw
+share/cpucontrol/410-MU16522d.fw
+share/cpucontrol/427-MU16800c.fw
+share/cpucontrol/428-MU16800d.fw
+share/cpucontrol/43-B_c6_617.fw
+share/cpucontrol/435-MU165141.fw
+share/cpucontrol/436-MU165142.fw
+share/cpucontrol/51-B_c6_616.fw
+share/cpucontrol/530-mu16730e.fw
+share/cpucontrol/539-mu167210.fw
+share/cpucontrol/620-MU26a401.fw
+share/cpucontrol/621-mu169601.fw
+share/cpucontrol/678-2f0708.fw
+share/cpucontrol/727-MU168313.fw
+share/cpucontrol/728-MU168314.fw
+share/cpucontrol/729-MU268310.fw
+share/cpucontrol/94-MU265019.fw
+share/cpucontrol/99-B_c6_612.fw
+share/cpucontrol/M01106C2217.fw
+share/cpucontrol/M01106CA107.fw
+share/cpucontrol/M0120661104.fw
+share/cpucontrol/M0230661106.fw
+share/cpucontrol/M04106C2218.fw
+share/cpucontrol/M04106CA107.fw
+share/cpucontrol/M0430661106.fw
+share/cpucontrol/M08106C2219.fw
+share/cpucontrol/M08106CA107.fw
+share/cpucontrol/M0830661106.fw
+share/cpucontrol/M10106CA107.fw
+share/cpucontrol/MU163202.fw
+share/cpucontrol/MU165040.fw
+share/cpucontrol/MU165041.fw
+share/cpucontrol/MU165045.fw
+share/cpucontrol/MU165140.fw
+share/cpucontrol/MU16522a.fw
+share/cpucontrol/MU16522c.fw
+share/cpucontrol/MU16530c.fw
+share/cpucontrol/MU16530d.fw
+share/cpucontrol/MU165310.fw
+share/cpucontrol/MU16600a.fw
+share/cpucontrol/MU166503.fw
+share/cpucontrol/MU166a0b.fw
+share/cpucontrol/MU166a0c.fw
+share/cpucontrol/MU166a0d.fw
+share/cpucontrol/MU166d05.fw
+share/cpucontrol/MU166d06.fw
+share/cpucontrol/MU166d07.fw
+share/cpucontrol/MU16810d.fw
+share/cpucontrol/MU16810e.fw
+share/cpucontrol/MU16810f.fw
+share/cpucontrol/MU168111.fw
+share/cpucontrol/MU168307.fw
+share/cpucontrol/MU168308.fw
+share/cpucontrol/MU168607.fw
+share/cpucontrol/MU168608.fw
+share/cpucontrol/MU16860a.fw
+share/cpucontrol/MU16860c.fw
+share/cpucontrol/MU168a01.fw
+share/cpucontrol/MU168a04.fw
+share/cpucontrol/MU168a05.fw
+share/cpucontrol/MU16b11c.fw
+share/cpucontrol/MU16b11d.fw
+share/cpucontrol/MU16b401.fw
+share/cpucontrol/MU16b402.fw
+share/cpucontrol/MU26522b.fw
+share/cpucontrol/MU26530b.fw
+share/cpucontrol/MU268110.fw
+share/cpucontrol/MU268602.fw
+share/cpucontrol/amd4.fw
+share/cpucontrol/k8_ucode_0f48.fw
+share/cpucontrol/k8_ucode_0f4a.fw
+share/cpucontrol/k8_ucode_0f50.fw
+share/cpucontrol/m011066143.fw
+share/cpucontrol/m011067660F.fw
+share/cpucontrol/m016fbBA.fw
+share/cpucontrol/m01f0712.fw
+share/cpucontrol/m01f0a13.fw
+share/cpucontrol/m01f2529.fw
+share/cpucontrol/m01f480c.fw
+share/cpucontrol/m01f6402.fw
+share/cpucontrol/m01f6508.fw
+share/cpucontrol/m021066142.fw
+share/cpucontrol/m02f0a15.fw
+share/cpucontrol/m02f241f.fw
+share/cpucontrol/m02f252a.fw
+share/cpucontrol/m02f2610.fw
+share/cpucontrol/m02f2738.fw
+share/cpucontrol/m02f292d.fw
+share/cpucontrol/m02f4116.fw
+share/cpucontrol/m02f480e.fw
+share/cpucontrol/m03106a4_00000011.fw
+share/cpucontrol/m03106a5_00000011.fw
+share/cpucontrol/m041067660F.fw
+share/cpucontrol/m046fbBC.fw
+share/cpucontrol/m04f0a14.fw
+share/cpucontrol/m04f122e.fw
+share/cpucontrol/m04f241e.fw
+share/cpucontrol/m04f252b.fw
+share/cpucontrol/m04f2737.fw
+share/cpucontrol/m04f292e.fw
+share/cpucontrol/m04f620f.fw
+share/cpucontrol/m05206f2_00000032.fw
+share/cpucontrol/m08106d129.fw
+share/cpucontrol/m086fbBB.fw
+share/cpucontrol/m08f2739.fw
+share/cpucontrol/m08f292f.fw
+share/cpucontrol/m09106e4_00000002.fw
+share/cpucontrol/m0df320a.fw
+share/cpucontrol/m0df330c.fw
+share/cpucontrol/m101067660F.fw
+share/cpucontrol/m101067770A.fw
+share/cpucontrol/m1069507.fw
+share/cpucontrol/m106f76a.fw
+share/cpucontrol/m106fbBA.fw
+share/cpucontrol/m10f2421.fw
+share/cpucontrol/m10f252c.fw
+share/cpucontrol/m111067AA0B.fw
+share/cpucontrol/m1220652_0000000c.fw
+share/cpucontrol/m12206a7_0000001b.fw
+share/cpucontrol/m13106e5_00000004.fw
+share/cpucontrol/m16f25d.fw
+share/cpucontrol/m16f6d0.fw
+share/cpucontrol/m16fda4.fw
+share/cpucontrol/m1df3417.fw
+share/cpucontrol/m2069507.fw
+share/cpucontrol/m206d618.fw
+share/cpucontrol/m206e839.fw
+share/cpucontrol/m206ec54.fw
+share/cpucontrol/m206f25c.fw
+share/cpucontrol/m206f6d1.fw
+share/cpucontrol/m206fbBA.fw
+share/cpucontrol/m206fda4.fw
+share/cpucontrol/m22f6809.fw
+share/cpucontrol/m34f6404.fw
+share/cpucontrol/m401067660F.fw
+share/cpucontrol/m406f76b.fw
+share/cpucontrol/m406fbBC.fw
+share/cpucontrol/m441067AA0B.fw
+share/cpucontrol/m46f6d2.fw
+share/cpucontrol/m5cf4a04.fw
+share/cpucontrol/m5df4a02.fw
+share/cpucontrol/m5ff4807.fw
+share/cpucontrol/m801066144.fw
+share/cpucontrol/m801067660F.fw
+share/cpucontrol/m8069547.fw
+share/cpucontrol/m806ec59.fw
+share/cpucontrol/m806fa95.fw
+share/cpucontrol/m806fbBA.fw
+share/cpucontrol/m806fda4.fw
+share/cpucontrol/m9220655_00000002.fw
+share/cpucontrol/m9df4305.fw
+share/cpucontrol/m9df4406.fw
+share/cpucontrol/m9df4703.fw
+share/cpucontrol/mA01067AA0B.fw
+share/cpucontrol/mbdf4117.fw
+share/cpucontrol/mbdf4903.fw
+share/cpucontrol/mu267114.fw
+share/cpucontrol/mu267238.fw
+share/cpucontrol/mu26732e.fw
+share/cpucontrol/mu26a003.fw
+share/cpucontrol/mu26a101.fw
+@dirrmtry share/cpucontrol

Modified: head/sysutils/dim/Makefile
==============================================================================
--- head/sysutils/dim/Makefile	Sat Nov  9 00:23:44 2013	(r333272)
+++ head/sysutils/dim/Makefile	Sat Nov  9 03:12:42 2013	(r333273)
@@ -22,8 +22,7 @@ USE_PERL5=	run
 
 PLIST_FILES=	bin/dim
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/dim.pl ${PREFIX}/bin/dim
+	${INSTALL_SCRIPT} ${WRKSRC}/dim.pl ${STAGEDIR}${PREFIX}/bin/dim
 
 .include <bsd.port.mk>

Modified: head/sysutils/dolly/Makefile
==============================================================================
--- head/sysutils/dolly/Makefile	Sat Nov  9 00:23:44 2013	(r333272)
+++ head/sysutils/dolly/Makefile	Sat Nov  9 03:12:42 2013	(r333273)
@@ -15,10 +15,8 @@ OPTIONS_DEFAULT=	BZIP2 HIGHEST_COMPRESSI
 BZIP2_DESC=	bzip2 instead of gzip for compressing
 HIGHEST_COMPRESSION_DESC=	Highest rather than fastest compression
 
-PLIST_FILES=	bin/${PORTNAME}
-PORTDOCS=	README
+DOCS=		README
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 do-configure:
 # C{C,FLAGS} safeness
@@ -29,12 +27,12 @@ do-configure:
 
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-. for _file in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+. for _file in ${DOCS}
+	@${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}/
 . endfor
 .endif
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 # Correctly depend upon bzip2 if necessary
 .if ${PORT_OPTIONS:MBZIP2}

Added: head/sysutils/dolly/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/dolly/pkg-plist	Sat Nov  9 03:12:42 2013	(r333273)
@@ -0,0 +1,3 @@
+bin/dolly
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%

Modified: head/sysutils/dwatch/Makefile
==============================================================================
--- head/sysutils/dwatch/Makefile	Sat Nov  9 00:23:44 2013	(r333272)
+++ head/sysutils/dwatch/Makefile	Sat Nov  9 03:12:42 2013	(r333273)
@@ -13,19 +13,17 @@ COMMENT=	Daemon Watcher
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
-MAN1=		dwatch.1
-PLIST_FILES=	bin/dwatch etc/dwatch.conf-dist
+PLIST_FILES=	bin/dwatch etc/dwatch.conf-dist man/man1/${PORTNAME}.1.gz
 
 CFLAGS+=	-DETCDIR="\"${PREFIX}/etc\"" \
 		-DPS="\"/bin/ps -ax\""
 
-NO_STAGE=	yes
 do-build:
 	(cd ${BUILD_WRKSRC}; ${CC} ${CFLAGS} -o dwatch dwatch.c)
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/dwatch ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/dwatch.1 ${MANPREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/dwatch.conf ${PREFIX}/etc/dwatch.conf-dist
+	${INSTALL_PROGRAM} ${WRKSRC}/dwatch ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/dwatch.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/dwatch.conf ${STAGEDIR}${PREFIX}/etc/dwatch.conf-dist
 
 .include <bsd.port.mk>



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