summaryrefslogtreecommitdiff
path: root/misc/fortune-mod-bofh/Makefile
blob: 43c160c164bc1d80cef71b7a182352fd2709a352 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:   fortune-mod-bofh
# Date created:        3/3/2004
# Whom:                Yonatan@Xpert.com
#
# $FreeBSD$
#

PORTNAME=	fortune-mod-bofh
PORTVERSION=	2.0
PORTREVISION=	3
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_LOCAL:S/$/:freebsd/} \
		http://www.void.irq.org/:original
MASTER_SITE_SUBDIR=	flz/${PORTNAME}/:freebsd
DISTFILES=	bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}:original,freebsd

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

STRFILE=	/usr/games/strfile

post-patch:
	@${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}

do-install:
	@${MKDIR} ${PREFIX}/share/games
	@${MKDIR} ${PREFIX}/share/games/fortune
	@${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
	@${STRFILE} ${PREFIX}/share/games/fortune/bofh
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>