diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-19 23:04:32 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-19 23:04:32 +0800 |
commit | 7cecff1defe28ffa5d8ab1801d2320905d92aa15 (patch) | |
tree | a60b636bd77b3b7a4ea37c08da183ba6cf825d91 | |
parent | 8810491b2ca2f053c1b7afef7ff375ed208b12bd (diff) | |
download | freebsd-ports-gnome-7cecff1defe28ffa5d8ab1801d2320905d92aa15.tar.gz freebsd-ports-gnome-7cecff1defe28ffa5d8ab1801d2320905d92aa15.tar.zst freebsd-ports-gnome-7cecff1defe28ffa5d8ab1801d2320905d92aa15.zip |
Stagify.
Approved by: portmgr@
-rw-r--r-- | misc/fortune-mod-bofh/Makefile | 13 | ||||
-rw-r--r-- | misc/fortune-mod-bofh/files/pkg-message.in | 5 | ||||
-rw-r--r-- | misc/fortune-mod-bofh/pkg-message | 5 |
3 files changed, 9 insertions, 14 deletions
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 <bsd.port.mk> 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 - -* * * |