From owner-svn-ports-all@freebsd.org Wed Sep 14 05:23:53 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60AFEBD93A5; Wed, 14 Sep 2016 05:23:53 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33747FB1; Wed, 14 Sep 2016 05:23:53 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8E5NqgG050621; Wed, 14 Sep 2016 05:23:52 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8E5Nqk1050620; Wed, 14 Sep 2016 05:23:52 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609140523.u8E5Nqk1050620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 14 Sep 2016 05:23:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422109 - head/chinese/fortune X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 05:23:53 -0000 Author: marino Date: Wed Sep 14 05:23:52 2016 New Revision: 422109 URL: https://svnweb.freebsd.org/changeset/ports/422109 Log: 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 Modified: head/chinese/fortune/Makefile Modified: head/chinese/fortune/Makefile ============================================================================== --- head/chinese/fortune/Makefile Wed Sep 14 05:16:28 2016 (r422108) +++ head/chinese/fortune/Makefile Wed Sep 14 05:23:52 2016 (r422109) @@ -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}|" \