aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-16 13:54:48 +0800
committermiwi <miwi@FreeBSD.org>2006-08-16 13:54:48 +0800
commitf4cc991ddb6530f204e08239339f50f26f27644f (patch)
tree9ba412ca10161072762b8e7be98ed56067f459df /chinese
parent507a69380f53efe2b814361dc547578d356b5996 (diff)
downloadfreebsd-ports-gnome-f4cc991ddb6530f204e08239339f50f26f27644f.tar.gz
freebsd-ports-gnome-f4cc991ddb6530f204e08239339f50f26f27644f.tar.zst
freebsd-ports-gnome-f4cc991ddb6530f204e08239339f50f26f27644f.zip
- Respect DESTDIR
PR: ports/102059 Submitted by: chinsan <chinsan.tw@gmail.com> Approved by: krion (mentor)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/fortunetw/Makefile38
1 files changed, 19 insertions, 19 deletions
diff --git a/chinese/fortunetw/Makefile b/chinese/fortunetw/Makefile
index 364a63dcd6f8..1ebf224821d1 100644
--- a/chinese/fortunetw/Makefile
+++ b/chinese/fortunetw/Makefile
@@ -20,13 +20,13 @@ NO_BUILD= yes
STRCMD= /usr/games/strfile
do-install:
- @${MKDIR} ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/folksong ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/liuyong ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/stephehchow ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/xiaoxing ${PREFIX}/share/games/fortune
- @${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune
+ @${MKDIR} ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/folksong ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/liuyong ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/stephehchow ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/tangshi ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/xiaoxing ${TARGETDIR}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/yijing ${TARGETDIR}/share/games/fortune
pre-install:
.if !exists(${STRCMD})
@@ -35,20 +35,20 @@ pre-install:
.endif
post-install:
- @${STRCMD} ${PREFIX}/share/games/fortune/folksong
- @${STRCMD} ${PREFIX}/share/games/fortune/liuyong
- @${STRCMD} ${PREFIX}/share/games/fortune/stephehchow
- @${STRCMD} ${PREFIX}/share/games/fortune/tangshi
- @${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing
- @${STRCMD} ${PREFIX}/share/games/fortune/yijing
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/folksong
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/liuyong
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/stephehchow
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/tangshi
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/xiaoxing
+ @${STRCMD} ${TARGETDIR}/share/games/fortune/yijing
@${ECHO_MSG} ""
@${ECHO_MSG} "Usage:"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/folksong"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/liuyong"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/stephehchow"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/tangshi"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing"
- @${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/yijing"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/folksong"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/liuyong"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/stephehchow"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/tangshi"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/xiaoxing"
+ @${ECHO_MSG} "${STRCMD} ${TARGETDIR}/share/games/fortune/yijing"
@${ECHO_MSG} ""
.include <bsd.port.mk>