mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
34 lines
804 B
Makefile
34 lines
804 B
Makefile
# Created by: Yonatan@Xpert.com
|
|
|
|
PORTNAME= fortune-mod-bofh
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= LOCAL/flz/${PORTNAME} \
|
|
http://www.irq.org/
|
|
DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= onatan@gmail.com
|
|
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
|
|
|
|
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|