Date: Wed, 14 Sep 2016 05:34:01 +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: r422110 - head/russian/fortuneru Message-ID: <201609140534.u8E5Y1c4054342@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Sep 14 05:34:01 2016 New Revision: 422110 URL: https://svnweb.freebsd.org/changeset/ports/422110 Log: russian/fortuneru: Use fortune_strfile instead of strfile(8) and mark BROKEN This removes the dependency on the games distribution. Unfortunately, it's also unfetchable (both sites time out) so it's also been marked BROKEN for this reason. Approved by: general blanket Modified: head/russian/fortuneru/Makefile Modified: head/russian/fortuneru/Makefile ============================================================================== --- head/russian/fortuneru/Makefile Wed Sep 14 05:23:52 2016 (r422109) +++ head/russian/fortuneru/Makefile Wed Sep 14 05:34:01 2016 (r422110) @@ -5,29 +5,27 @@ PORTNAME= fortuneru PORTVERSION= 20090524 PORTREVISION= 1 CATEGORIES= russian -MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ ftp://hosting.cvu.kiev.ua/pub/files/ +MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ \ + ftp://hosting.cvu.kiev.ua/pub/files/ DISTNAME= fortune.ru-${PORTVERSION} MAINTAINER= obezpalko@gmail.com COMMENT= Fortunes in Russian -PKGMESSAGE= ${WRKDIR}/pkg-message +BROKEN= unfetchable -.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 +PKGMESSAGE= ${WRKDIR}/pkg-message do-build: - @for fortune in ${WRKSRC}/* ; do \ + for fortune in ${WRKSRC}/* ; do \ ${STRCMD} $$fortune ; \ done do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/rus - ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/games/fortune/rus + ${INSTALL_DATA} ${WRKSRC}/* \ + ${STAGEDIR}${PREFIX}/share/games/fortune/rus .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609140534.u8E5Y1c4054342>