From 289cceb8aa48069523f04eb377261fdb9bb3443a Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 19 Jun 2014 15:04:32 +0000 Subject: [PATCH] Stagify. Approved by: portmgr@ --- misc/fortune-mod-bofh/Makefile | 13 ++++--------- misc/fortune-mod-bofh/files/pkg-message.in | 5 +++++ misc/fortune-mod-bofh/pkg-message | 5 ----- 3 files changed, 9 insertions(+), 14 deletions(-) create mode 100644 misc/fortune-mod-bofh/files/pkg-message.in delete mode 100644 misc/fortune-mod-bofh/pkg-message diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile index 07e02254a955..9936a9786ac4 100644 --- a/misc/fortune-mod-bofh/Makefile +++ b/misc/fortune-mod-bofh/Makefile @@ -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 diff --git a/misc/fortune-mod-bofh/files/pkg-message.in b/misc/fortune-mod-bofh/files/pkg-message.in new file mode 100644 index 000000000000..241664477e84 --- /dev/null +++ b/misc/fortune-mod-bofh/files/pkg-message.in @@ -0,0 +1,5 @@ +* * * + +Usage: fortune %%PREFIX%%/share/games/fortune/bofh + +* * * diff --git a/misc/fortune-mod-bofh/pkg-message b/misc/fortune-mod-bofh/pkg-message deleted file mode 100644 index 6e2c5f308126..000000000000 --- a/misc/fortune-mod-bofh/pkg-message +++ /dev/null @@ -1,5 +0,0 @@ -* * * - -Usage: fortune PREFIX/share/games/fortune/bofh - -* * *