Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2016 04:29:13 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422103 - head/misc/fortuneit
Message-ID:  <201609140429.u8E4TDbc027687@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Sep 14 04:29:13 2016
New Revision: 422103
URL: https://svnweb.freebsd.org/changeset/ports/422103

Log:
  misc/fortuneit: Use fortune_strfile instead of strfile(8)
  
  This removes the dependency on the games distribution.
  
  Approved by:	general blanket

Modified:
  head/misc/fortuneit/Makefile

Modified: head/misc/fortuneit/Makefile
==============================================================================
--- head/misc/fortuneit/Makefile	Wed Sep 14 04:24:22 2016	(r422102)
+++ head/misc/fortuneit/Makefile	Wed Sep 14 04:29:13 2016	(r422103)
@@ -10,13 +10,8 @@ DISTNAME=	fortune-it-${PORTVERSION}
 MAINTAINER=	gmarco@gufi.org
 COMMENT=	Funny fortune file in Italian
 
-.if exists(/usr/games/strfile)
-STRCMD=		/usr/games/strfile
-.elif exists(/usr/bin/strfile)
-STRCMD=		/usr/bin/strfile
-.else
-IGNORE=		needs strfile command. Please install games distribution of base system
-.endif
+BUILD_DEPENDS=	fortune_strfile:misc/fortune_strfile
+STRCMD=		${LOCALBASE}/bin/fortune_strfile
 
 FORTUNEFILES=	adams banner computer definizioni formiche italia itatrek \
 		jackfr leggi luke luttazzi norm paolotedeschi zuse \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609140429.u8E4TDbc027687>