mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Revert recent strfile changes, strfile is already in base
With hat: portmgr
This commit is contained in:
parent
08c3ba3e1a
commit
cc9b2efba4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422160
10 changed files with 98 additions and 64 deletions
|
@ -14,14 +14,20 @@ COMMENT= Classic fortune file in Chinese
|
||||||
BROKEN= Unfetchable (google code has gone away)
|
BROKEN= Unfetchable (google code has gone away)
|
||||||
|
|
||||||
RUN_DEPENDS= autob5:chinese/autoconvert
|
RUN_DEPENDS= autob5:chinese/autoconvert
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
|
||||||
STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
|
||||||
|
|
||||||
PROJECTHOST= chinese-fortune
|
PROJECTHOST= chinese-fortune
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USES= tar:bzip2 gmake
|
USES= tar:bzip2 gmake
|
||||||
SUB_FILES= 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
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \
|
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \
|
||||||
-e "s|strfile|${STRFILE}|" \
|
-e "s|strfile|${STRFILE}|" \
|
||||||
|
|
|
@ -11,15 +11,19 @@ COMMENT= Compilation of quotes from Nietzsche's Thus spoke Zarathustra
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
.if exists(/usr/games/strfile)
|
||||||
STRCMD= ${LOCALBASE}/bin/fortune_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:
|
do-build:
|
||||||
(cd ${WRKSRC} && ${STRCMD} zarathoustra)
|
@cd ${WRKSRC} && ${STRCMD} zarathoustra
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${INSTALL_DATA} ${WRKSRC}/zarathoustra* \
|
${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -7,28 +7,32 @@ PORTREVISION= 1
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= SF/fortunebible/fortunebible/Genesis
|
MASTER_SITES= SF/fortunebible/fortunebible/Genesis
|
||||||
DISTNAME= bible
|
DISTNAME= bible
|
||||||
DIST_SUBDIR= ${PORTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= doug@polands.org
|
MAINTAINER= doug@polands.org
|
||||||
COMMENT= King James V Bible in fortune file format
|
COMMENT= King James V Bible in fortune file format
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
DIST_SUBDIR= ${PORTNAME}
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
USES= tar:bzip2
|
USES= tar:bzip2
|
||||||
SUB_FILES+= pkg-message
|
SUB_FILES+= pkg-message
|
||||||
_STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
.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:
|
post-extract:
|
||||||
${RM} ${WRKSRC}/bible.dat
|
${RM} ${WRKSRC}/bible.dat
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
(cd ${WRKSRC} && ${_STRFILE} -C bible)
|
@cd ${WRKSRC} && ${_STRFILE} -C bible
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${INSTALL_DATA} ${WRKSRC}/bible* \
|
${INSTALL_DATA} ${WRKSRC}/bible* ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -12,20 +12,24 @@ DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}
|
||||||
MAINTAINER= onatan@gmail.com
|
MAINTAINER= onatan@gmail.com
|
||||||
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
|
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
|
||||||
STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
|
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
|
||||||
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
SUB_FILES= 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:
|
do-build:
|
||||||
${STRFILE} ${WRKSRC}/bofh
|
@${STRFILE} ${WRKSRC}/bofh
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${INSTALL_DATA} ${WRKSRC}/bofh* \
|
${INSTALL_DATA} ${WRKSRC}/bofh* ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -2,9 +2,13 @@
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
_STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
.if exists(/usr/games/strfile)
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_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
|
_STRFILE_ARGS?= -C
|
||||||
_FORTUNE_DIR= share/games/fortune
|
_FORTUNE_DIR= share/games/fortune
|
||||||
FORTUNE_DIR= ${PREFIX}/${_FORTUNE_DIR}
|
FORTUNE_DIR= ${PREFIX}/${_FORTUNE_DIR}
|
||||||
|
@ -25,22 +29,19 @@ post-extract:
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
(cd ${WRKSRC} && ${_STRFILE} ${_STRFILE_ARGS} ${PORTNAME})
|
@cd ${WRKSRC} && ${_STRFILE} ${_STRFILE_ARGS} ${PORTNAME}
|
||||||
if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
@if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
||||||
cd ${WRKSRC} && ${_STRFILE} ${_STRFILE_ARGS} ${PORTNAME}-o; \
|
cd ${WRKSRC} && ${_STRFILE} ${_STRFILE_ARGS} ${PORTNAME}-o; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${FORTUNE_DIR}
|
@${MKDIR} ${STAGEDIR}${FORTUNE_DIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} \
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}
|
||||||
${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}.dat
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.dat \
|
|
||||||
${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE}.dat
|
|
||||||
if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}; \
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}; \
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}.dat; \
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-o.dat ${STAGEDIR}${FORTUNE_DIR}/${FORTUNE_FILE_O}.dat; \
|
||||||
fi
|
fi
|
||||||
if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
@if [ -f ${WRKSRC}/${PORTNAME}-o ]; then \
|
||||||
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O} >> ${TMPPLIST}; \
|
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O} >> ${TMPPLIST}; \
|
||||||
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat >> ${TMPPLIST}; \
|
${ECHO_CMD} ${_FORTUNE_DIR}/${FORTUNE_FILE_O}.dat >> ${TMPPLIST}; \
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -12,21 +12,25 @@ COMMENT= Quotes from Epictetus
|
||||||
LICENSE= BSD2CLAUSE
|
LICENSE= BSD2CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
|
||||||
STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= akosela
|
GH_ACCOUNT= akosela
|
||||||
|
|
||||||
PLIST_FILES= share/games/fortune/epictetus \
|
PLIST_FILES= share/games/fortune/epictetus \
|
||||||
share/games/fortune/epictetus.dat
|
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:
|
do-build:
|
||||||
(cd ${WRKSRC} && ${STRFILE} epictetus)
|
@(cd ${WRKSRC} && ${STRFILE} epictetus)
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${INSTALL_DATA} ${WRKSRC}/epictetus* \
|
${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -11,20 +11,24 @@ MASTER_SITES= http://www.netmeister.org/apps/ \
|
||||||
MAINTAINER= freebsd@skysmurf.nl
|
MAINTAINER= freebsd@skysmurf.nl
|
||||||
COMMENT= Compilation of quotes from the TV series "Futurama"
|
COMMENT= Compilation of quotes from the TV series "Futurama"
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
|
||||||
|
|
||||||
USES= tar:bzip2
|
USES= tar:bzip2
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
STRFILE= ${LOCALBASE}/bin/fortune_strfile
|
|
||||||
|
|
||||||
PLIST_FILES= share/games/fortune/futurama share/games/fortune/futurama.dat
|
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:
|
do-build:
|
||||||
${STRFILE} ${WRKSRC}/futurama
|
@${STRFILE} ${WRKSRC}/futurama
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${INSTALL_DATA} ${WRKSRC}/futurama* \
|
${INSTALL_DATA} ${WRKSRC}/futurama* ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -10,8 +10,13 @@ DISTNAME= fortune-it-${PORTVERSION}
|
||||||
MAINTAINER= gmarco@gufi.org
|
MAINTAINER= gmarco@gufi.org
|
||||||
COMMENT= Funny fortune file in Italian
|
COMMENT= Funny fortune file in Italian
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
.if exists(/usr/games/strfile)
|
||||||
STRCMD= ${LOCALBASE}/bin/fortune_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 \
|
FORTUNEFILES= adams banner computer definizioni formiche italia itatrek \
|
||||||
jackfr leggi luke luttazzi norm paolotedeschi zuse \
|
jackfr leggi luke luttazzi norm paolotedeschi zuse \
|
||||||
|
|
|
@ -14,11 +14,13 @@ PATCHFILES= fortunes-pl_${PORTVERSION}.freebsd.pl \
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Lot of funny Polish fortune files
|
COMMENT= Lot of funny Polish fortune files
|
||||||
|
|
||||||
BROKEN= unfetchable
|
.if exists(/usr/games/strfile)
|
||||||
|
STRCMD= /usr/games/strfile
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
.elif exists(/usr/bin/strfile)
|
||||||
STRCMD= ${LOCALBASE}/bin/fortune_strfile
|
STRCMD= /usr/bin/strfile
|
||||||
|
.else
|
||||||
|
IGNORE= needs strfile command. Please install games distribution of base system
|
||||||
|
.endif
|
||||||
WRKSRC= ${WRKDIR}/fortunes-pl-${PORTVERSION}.orig
|
WRKSRC= ${WRKDIR}/fortunes-pl-${PORTVERSION}.orig
|
||||||
|
|
||||||
FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \
|
FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \
|
||||||
|
@ -33,14 +35,12 @@ FORTUNES= 7thguard advocacy apcoh argante bajki bok cnp cows \
|
||||||
znaki_zodiaku
|
znaki_zodiaku
|
||||||
|
|
||||||
do-patch:
|
do-patch:
|
||||||
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl \
|
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.freebsd.pl ${WRKSRC}/freebsd.pl
|
||||||
${WRKSRC}/freebsd.pl
|
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia ${WRKSRC}/filozofia
|
||||||
${CP} ${DISTDIR}/fortunes-pl_${PORTVERSION}.filozofia \
|
|
||||||
${WRKSRC}/filozofia
|
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
.for FILE in ${FORTUNES}
|
.for FILE in ${FORTUNES}
|
||||||
${STRCMD} ${WRKSRC}/${FILE}
|
@${STRCMD} ${WRKSRC}/${FILE}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
|
@ -5,27 +5,29 @@ PORTNAME= fortuneru
|
||||||
PORTVERSION= 20090524
|
PORTVERSION= 20090524
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= russian
|
CATEGORIES= russian
|
||||||
MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ \
|
MASTER_SITES= ftp://bestia.kiev.ua/pub/files/ ftp://hosting.cvu.kiev.ua/pub/files/
|
||||||
ftp://hosting.cvu.kiev.ua/pub/files/
|
|
||||||
DISTNAME= fortune.ru-${PORTVERSION}
|
DISTNAME= fortune.ru-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= obezpalko@gmail.com
|
MAINTAINER= obezpalko@gmail.com
|
||||||
COMMENT= Fortunes in Russian
|
COMMENT= Fortunes in Russian
|
||||||
|
|
||||||
BROKEN= unfetchable
|
|
||||||
|
|
||||||
BUILD_DEPENDS= fortune_strfile:misc/fortune_strfile
|
|
||||||
STRCMD= ${LOCALBASE}/bin/fortune_strfile
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
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:
|
do-build:
|
||||||
for fortune in ${WRKSRC}/* ; do \
|
@for fortune in ${WRKSRC}/* ; do \
|
||||||
${STRCMD} $$fortune ; \
|
${STRCMD} $$fortune ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/rus
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/rus
|
||||||
${INSTALL_DATA} ${WRKSRC}/* \
|
${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/games/fortune/rus
|
||||||
${STAGEDIR}${PREFIX}/share/games/fortune/rus
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue