Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2016 05:39:41 +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: r422111 - head/polish/fortunepl
Message-ID:  <201609140539.u8E5dfCL054642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Sep 14 05:39:41 2016
New Revision: 422111
URL: https://svnweb.freebsd.org/changeset/ports/422111

Log:
  polish/fortunepl: Use fortune_strfile instead of strfile(8) and mark BROKEN
  
  This removes the dependency on the games distribution.
  Unfortunately, it's also unfetchable so it's also been marked BROKEN for
  this reason.

Modified:
  head/polish/fortunepl/Makefile

Modified: head/polish/fortunepl/Makefile
==============================================================================
--- head/polish/fortunepl/Makefile	Wed Sep 14 05:34:01 2016	(r422110)
+++ head/polish/fortunepl/Makefile	Wed Sep 14 05:39:41 2016	(r422111)
@@ -14,13 +14,11 @@ PATCHFILES=	fortunes-pl_${PORTVERSION}.f
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Lot of funny Polish fortune files
 
-.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
+BROKEN=		unfetchable
+
+BUILD_DEPENDS=	fortune_strfile:misc/fortune_strfile
+STRCMD=		${LOCALBASE}/bin/fortune_strfile
+
 WRKSRC=		${WRKDIR}/fortunes-pl-${PORTVERSION}.orig
 
 FORTUNES=	7thguard advocacy apcoh argante bajki bok cnp cows \
@@ -35,12 +33,14 @@ FORTUNES=	7thguard advocacy apcoh argant
 		znaki_zodiaku
 
 do-patch:
-	${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl ${WRKSRC}/freebsd.pl
-	${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia ${WRKSRC}/filozofia
+	${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl \
+		${WRKSRC}/freebsd.pl
+	${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia \
+		${WRKSRC}/filozofia
 
 do-build:
 .for FILE in ${FORTUNES}
-	@${STRCMD} ${WRKSRC}/${FILE}
+	${STRCMD} ${WRKSRC}/${FILE}
 .endfor
 
 do-install:



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