svn commit: r422103 - head/misc/fortuneit

John Marino marino at FreeBSD.org
Wed Sep 14 04:29:14 UTC 2016


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 at 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 \


More information about the svn-ports-head mailing list