diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-12-20 02:28:36 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-12-20 02:28:36 +0000 |
commit | 84856c02a9595793208208f242525b8d6ab9694c (patch) | |
tree | fc3aa95a8aa65aa8ff034697cc855d6e60a73ec4 /chinese | |
parent | 42046fc0f4a761fd559f4a1f6f89647175093989 (diff) |
- Add e-mail for creator;
- Mark IGNORE if games distribution is not installed;
- Use full path for strfile in case it is not in PATH [1];
Reported by: pav [1]
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=246274
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/fortune/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chinese/fortune/Makefile b/chinese/fortune/Makefile index a931ea44e359..3764b815cee8 100644 --- a/chinese/fortune/Makefile +++ b/chinese/fortune/Makefile @@ -1,6 +1,6 @@ # New ports collection makefile for: zh-fortune # Date created: 17 Dec 2009 -# Whom: Ju Pengfei +# Whom: Ju Pengfei <jupengfei@gmail.com> # # $FreeBSD$ # @@ -23,11 +23,16 @@ NO_BUILD= yes USE_GMAKE= yes USE_BZIP2= yes +.if !exists (/usr/games/fortune) || !exists(/usr/games/strfile) +IGNORE= needs the FreeBSD games distribution +.endif + post-patch: @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ -e "s|/usr/bin/fortune|/usr/games/fortune|" \ ${WRKSRC}/src/fortune-zh @${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \ + -e "s|strfile|/usr/games/strfile|" \ ${WRKSRC}/src/Makefile .include <bsd.port.mk> |