From owner-svn-ports-head@FreeBSD.ORG Sun Feb 15 13:33:29 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03D19E6B; Sun, 15 Feb 2015 13:33:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 DC90D901; Sun, 15 Feb 2015 13:33:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1FDXSkQ041811; Sun, 15 Feb 2015 13:33:28 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1FDXPtv041800; Sun, 15 Feb 2015 13:33:25 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201502151333.t1FDXPtv041800@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 15 Feb 2015 13:33:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379034 - in head: chinese/fortune french/fortune-mod-zarathoustra misc/fortune-mod-bible misc/fortune-mod-bofh misc/fortune-mod-culmea-culmilor misc/fortune-mod-epictetus misc/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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 13:33:29 -0000 Author: antoine Date: Sun Feb 15 13:33:25 2015 New Revision: 379034 URL: https://svnweb.freebsd.org/changeset/ports/379034 QAT: https://qat.redports.org/buildarchive/r379034/ Log: Unbreak on head Deleted: head/russian/fortune-bashorgru/pkg-install head/russian/fortuneru/pkg-install Modified: head/chinese/fortune/Makefile head/french/fortune-mod-zarathoustra/Makefile head/misc/fortune-mod-bible/Makefile head/misc/fortune-mod-bofh/Makefile head/misc/fortune-mod-culmea-culmilor/Makefile.fortune head/misc/fortune-mod-epictetus/Makefile head/misc/fortune-mod-futurama/Makefile head/misc/fortuneit/Makefile head/polish/fortunepl/Makefile head/russian/fortune-bashorgru/Makefile head/russian/fortuneru/Makefile Modified: head/chinese/fortune/Makefile ============================================================================== --- head/chinese/fortune/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/chinese/fortune/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -18,13 +18,17 @@ NO_BUILD= yes USES= tar:bzip2 gmake SUB_FILES= pkg-message -.if !exists(/usr/games/fortune) || !exists(/usr/games/strfile) -IGNORE= needs the FreeBSD games distribution +.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|/usr/games/strfile|" \ + -e "s|strfile|${STRFILE}|" \ ${WRKSRC}/src/Makefile .include Modified: head/french/fortune-mod-zarathoustra/Makefile ============================================================================== --- head/french/fortune-mod-zarathoustra/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/french/fortune-mod-zarathoustra/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -4,20 +4,19 @@ PORTNAME= fortune-mod-zarathoustra PORTVERSION= 20100905 CATEGORIES= french -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= culot +MASTER_SITES= LOCAL/culot MAINTAINER= culot@FreeBSD.org COMMENT= Compilation of quotes from Nietzsche's Thus spoke Zarathustra SUB_FILES= pkg-message +.if exists(/usr/games/strfile) STRCMD= /usr/games/strfile - -pre-build: -.if !exists(${STRCMD}) - @${ECHO_MSG} "Please install the games distribution" - @exit 1 +.elif exists(/usr/bin/strfile) +STRCMD= /usr/bin/strfile +.else +IGNORE= needs strfile command. Please install games distribution of base system .endif do-build: @@ -25,9 +24,6 @@ do-build: do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune .include Modified: head/misc/fortune-mod-bible/Makefile ============================================================================== --- head/misc/fortune-mod-bible/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortune-mod-bible/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -14,17 +14,25 @@ COMMENT= King James V Bible in fortune f DIST_SUBDIR= ${PORTNAME} NO_WRKSUBDIR= yes PKGMESSAGE= ${WRKDIR}/pkg-message -USES= tar:bzip2 +USES= tar:bzip2 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-extract: + ${RM} ${WRKSRC}/bible.dat do-build: @cd ${WRKSRC} && ${_STRFILE} -C bible do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/games @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/bible* ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/bible* ${STAGEDIR}${PREFIX}/share/games/fortune .include Modified: head/misc/fortune-mod-bofh/Makefile ============================================================================== --- head/misc/fortune-mod-bofh/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortune-mod-bofh/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -13,17 +13,24 @@ DISTFILES= bofh-fortune-mod${PORTVERSION MAINTAINER= onatan@gmail.com COMMENT= Compilation of excuses from the "Bastard Operator From Hell" -NO_BUILD= yes WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0 PKGMESSAGE= ${WRKDIR}/pkg-message 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 + +do-build: + @${STRFILE} ${WRKSRC}/bofh do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/bofh ${STAGEDIR}${PREFIX}/share/games/fortune - @${STRFILE} ${STAGEDIR}${PREFIX}/share/games/fortune/bofh + ${INSTALL_DATA} ${WRKSRC}/bofh* ${STAGEDIR}${PREFIX}/share/games/fortune .include Modified: head/misc/fortune-mod-culmea-culmilor/Makefile.fortune ============================================================================== --- head/misc/fortune-mod-culmea-culmilor/Makefile.fortune Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortune-mod-culmea-culmilor/Makefile.fortune Sun Feb 15 13:33:25 2015 (r379034) @@ -2,7 +2,13 @@ NO_WRKSUBDIR= yes +.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 _STRFILE_ARGS?= -C _FORTUNE_DIR= share/games/fortune FORTUNE_DIR= ${PREFIX}/${_FORTUNE_DIR} @@ -29,16 +35,13 @@ do-build: fi do-install: @${MKDIR} ${STAGEDIR}${FORTUNE_DIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}.dat - @if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}.dat + if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}; \ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}.dat; \ fi -post-install: @if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \ ${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O} >> ${TMPPLIST}; \ ${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat >> ${TMPPLIST}; \ fi - @${ECHO_CMD} "@unexec rmdir %D/${_FORTUNE_DIR} 2>/dev/null || true" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir %D/share/games 2>/dev/null || true" >> ${TMPPLIST} Modified: head/misc/fortune-mod-epictetus/Makefile ============================================================================== --- head/misc/fortune-mod-epictetus/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortune-mod-epictetus/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -15,13 +15,19 @@ USES= tar:bzip2 PLIST_FILES= share/games/fortune/epictetus \ share/games/fortune/epictetus.dat +.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 do-build: @(cd ${WRKSRC} && ${STRFILE} epictetus) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune - @${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune .include Modified: head/misc/fortune-mod-futurama/Makefile ============================================================================== --- head/misc/fortune-mod-futurama/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortune-mod-futurama/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -11,13 +11,21 @@ MASTER_SITES= http://www.netmeister.org/ MAINTAINER= freebsd@skysmurf.nl COMMENT= Compilation of quotes from the TV series "Futurama" -USES= tar:bzip2 +USES= tar:bzip2 SUB_FILES= pkg-message PLIST_FILES= share/games/fortune/futurama share/games/fortune/futurama.dat +.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 + do-build: - @cd ${WRKSRC} && /usr/games/strfile futurama + @${STRFILE} ${WRKSRC}/futurama do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune Modified: head/misc/fortuneit/Makefile ============================================================================== --- head/misc/fortuneit/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/misc/fortuneit/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -10,38 +10,29 @@ 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 FORTUNEFILES= adams banner computer definizioni formiche italia itatrek \ jackfr leggi luke luttazzi norm paolotedeschi zuse \ computer-o definizioni-o film-o italia-o jackfr-o leggi-o \ luttazzi-o obsc-o zuse-o -pre-build: -.if !exists(${STRCMD}) - @${ECHO_MSG} "Please install the games distribution" - @exit 1 -.endif - do-build: .for f in ${FORTUNEFILES} ${STRCMD} ${WRKSRC}/testi/${f} .endfor do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/games @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune .for f in ${FORTUNEFILES} - @${INSTALL_DATA} ${WRKSRC}/testi/${f}* \ + ${INSTALL_DATA} ${WRKSRC}/testi/${f}* \ ${STAGEDIR}${PREFIX}/share/games/fortune .endfor -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "Usage:" - @${ECHO_MSG} "/usr/games/fortune [-aDefilosw] ${PREFIX}/share/games/fortune/" - @${ECHO_MSG} "" - @${ECHO_MSG} "Please check fortune manual pages for more informations" - @${ECHO_MSG} "" - .include Modified: head/polish/fortunepl/Makefile ============================================================================== --- head/polish/fortunepl/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/polish/fortunepl/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -14,7 +14,13 @@ 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 WRKSRC= ${WRKDIR}/fortunes-pl-${PORTVERSION}.orig FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \ @@ -28,11 +34,6 @@ FORTUNES= 7thguard advocacy apcoh argant teleturnieje testnaosobowosc wierszyki wieza-pilot zen \ znaki_zodiaku -pre-everything:: -.if !exists(${STRCMD}) -IGNORE= need strfile command. Please install games distribution of base system -.endif - do-patch: ${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl ${WRKSRC}/freebsd.pl ${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia ${WRKSRC}/filozofia @@ -51,10 +52,4 @@ do-install: ${STAGEDIR}${PREFIX}/share/games/fortune/pl .endfor -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "Usage:" - @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/pl/" - @${ECHO_MSG} "" - .include Modified: head/russian/fortune-bashorgru/Makefile ============================================================================== --- head/russian/fortune-bashorgru/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/russian/fortune-bashorgru/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -3,6 +3,7 @@ PORTNAME= fortune-bashorgru PORTVERSION= 20080903 +PORTREVISION= 1 CATEGORIES= russian MASTER_SITES= http://limbo.xim.bz/distfiles/ Modified: head/russian/fortuneru/Makefile ============================================================================== --- head/russian/fortuneru/Makefile Sun Feb 15 12:07:53 2015 (r379033) +++ head/russian/fortuneru/Makefile Sun Feb 15 13:33:25 2015 (r379034) @@ -3,6 +3,7 @@ PORTNAME= fortuneru PORTVERSION= 20090524 +PORTREVISION= 1 CATEGORIES= russian MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ ftp://hosting.cvu.kiev.ua/pub/files/ DISTNAME= fortune.ru-${PORTVERSION} @@ -10,30 +11,23 @@ DISTNAME= fortune.ru-${PORTVERSION} MAINTAINER= obezpalko@gmail.com COMMENT= Fortunes in Russian -NO_BUILD= yes - PKGMESSAGE= ${WRKDIR}/pkg-message +.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 + +do-build: + @for fortune in ${WRKSRC}/* ; do \ + ${STRCMD} $$fortune ; \ + done do-install: - @${SETENV} STRCMD=${STRCMD} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/rus ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/games/fortune/rus -pre-install: -.if !exists(${STRCMD}) - @${ECHO_MSG} "Please install the games distribution" - @exit 1 -.endif - -post-install: - @for fortune in ${STAGEDIR}${PREFIX}/share/games/fortune/rus/* ; do \ - ${STRCMD} $$fortune >/dev/null 2>/dev/null ; \ - done - @${ECHO_MSG} "" - @${ECHO_MSG} "Usage:" - @${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/rus" - @${ECHO_MSG} "" - .include