mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
chinese/fortune: Use fortune_strfile instead of strfile(8) and mark BROKEN
This removes the dependency on the games distribution. Unfortunately, it's also unfetchable (Google Code site) so it's also been marked BROKEN for this reason. Approved by: general blanket
This commit is contained in:
parent
8cf4ab0d4a
commit
a010fa4d7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422109
@ -11,21 +11,17 @@ DISTNAME= fortune-mod-zh-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Classic fortune file in Chinese
|
||||
|
||||
BROKEN= unfetchable (Google Code site)
|
||||
|
||||
RUN_DEPENDS= autob5:chinese/autoconvert
|
||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
||||
STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
||||
|
||||
PROJECTHOST= chinese-fortune
|
||||
NO_BUILD= yes
|
||||
USES= tar:bzip2 gmake
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.if exists(/usr/games/strfile)
|
||||
STRFILE= /usr/games/strfile
|
||||
.elif exists(/usr/bin/strfile)
|
||||
STRFILE= /usr/bin/strfile
|
||||
.else
|
||||
IGNORE= needs strfile command. Please install games distribution of base system
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \
|
||||
-e "s|strfile|${STRFILE}|" \
|
||||
|
Loading…
Reference in New Issue
Block a user