aboutsummaryrefslogtreecommitdiffstats
path: root/misc/brs/Makefile
blob: c18a82aaa9b14169566ccaf0e8aa5fea5d0568b1 (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:    brs
# Date created:             10 July 2000
# Whom:                 Kim Scarborough <user@unknown.nu>
#
# $FreeBSD$
#

PORTNAME=   brs
PORTVERSION=    4.03
CATEGORIES= misc
MASTER_SITES=   ftp://classworld.com/BRS/ \
        http://www.unknown.nu/ports/
DISTFILES=  bible.data.tar bible.tar.Z
DIST_SUBDIR=    brs

MAINTAINER= user@unknown.nu
COMMENT=    An interactive King James Bible

NO_WRKSUBDIR=   yes
ALL_TARGET=
MAN1=       bible.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

post-patch:
    @${MV} ${WRKSRC}/brl.c ${WRKSRC}/brl.c.sed
    ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
        ${WRKSRC}/brl.c.sed > ${WRKSRC}/brl.c
    @${MV} ${WRKSRC}/bible.1 ${WRKSRC}/bible.1.sed
    ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
        ${WRKSRC}/bible.1.sed > ${WRKSRC}/bible.1

.include <bsd.port.post.mk>