# Created by: Yonatan@Xpert.com # $FreeBSD: head/misc/fortune-mod-bofh/Makefile 469109 2018-05-05 13:54:37Z danfe $ 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