mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
38 lines
978 B
Makefile
38 lines
978 B
Makefile
# Created by: gmarco@giovannelli.it
|
|
|
|
PORTNAME= fortuneit
|
|
PORTVERSION= 1.99
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/
|
|
DISTNAME= fortune-it-${PORTVERSION}
|
|
|
|
MAINTAINER= gmarco@giovannelli.it
|
|
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
|
|
|
|
do-build:
|
|
.for f in ${FORTUNEFILES}
|
|
${STRCMD} ${WRKSRC}/testi/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
|
.for f in ${FORTUNEFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/testi/${f}* \
|
|
${STAGEDIR}${PREFIX}/share/games/fortune
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|