Index: head/chinese/fortune/Makefile =================================================================== --- head/chinese/fortune/Makefile (revision 422108) +++ head/chinese/fortune/Makefile (revision 422109) @@ -1,34 +1,30 @@ # Created by: Ju Pengfei # $FreeBSD$ PORTNAME= fortune PORTVERSION= 1.2.2 PORTREVISION= 2 CATEGORIES= chinese MASTER_SITES= GOOGLE_CODE 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}|" \ ${WRKSRC}/src/Makefile .include