Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 15:04:32 +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: r358429 - in head/misc/fortune-mod-bofh: . files
Message-ID:  <201406191504.s5JF4WJ4082105@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jun 19 15:04:32 2014
New Revision: 358429
URL: http://svnweb.freebsd.org/changeset/ports/358429
QAT: https://qat.redports.org/buildarchive/r358429/

Log:
  Stagify.
  
  Approved by:	portmgr@

Added:
  head/misc/fortune-mod-bofh/files/
  head/misc/fortune-mod-bofh/files/pkg-message.in   (contents, props changed)
Deleted:
  head/misc/fortune-mod-bofh/pkg-message
Modified:
  head/misc/fortune-mod-bofh/Makefile

Modified: head/misc/fortune-mod-bofh/Makefile
==============================================================================
--- head/misc/fortune-mod-bofh/Makefile	Thu Jun 19 15:04:31 2014	(r358428)
+++ head/misc/fortune-mod-bofh/Makefile	Thu Jun 19 15:04:32 2014	(r358429)
@@ -17,18 +17,13 @@ NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/bofh-fortune-mod2.0
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
 
 STRFILE=	/usr/games/strfile
 
-NO_STAGE=	yes
-post-patch:
-	@${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
-
 do-install:
-	@${MKDIR} ${PREFIX}/share/games
-	@${MKDIR} ${PREFIX}/share/games/fortune
-	@${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
-	@${STRFILE} ${PREFIX}/share/games/fortune/bofh
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
+	@${INSTALL_DATA} ${WRKSRC}/bofh ${STAGEDIR}${PREFIX}/share/games/fortune
+	@${STRFILE} ${STAGEDIR}${PREFIX}/share/games/fortune/bofh
 
 .include <bsd.port.mk>

Added: head/misc/fortune-mod-bofh/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/fortune-mod-bofh/files/pkg-message.in	Thu Jun 19 15:04:32 2014	(r358429)
@@ -0,0 +1,5 @@
+* * *
+
+Usage: fortune %%PREFIX%%/share/games/fortune/bofh
+
+* * *



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