svn commit: r358429 - in head/misc/fortune-mod-bofh: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu Jun 19 15:04:33 UTC 2014


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
+
+* * *


More information about the svn-ports-head mailing list