aboutsummaryrefslogtreecommitdiffstats
path: root/misc/brs/Makefile
blob: e60ac2ff270e4166bd7ef93765dc0d6a032e04d7 (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
# 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=   http://mirrors.playboy.com/misc/ \
        http://www.unknown.nu/ports/ \
        ftp://mirrors.playboy.com/misc/
DISTFILES=  bible.data.tar.bz2 bible.tar.bz2
DIST_SUBDIR=    brs

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

USE_BZIP2=  yes
NO_WRKSUBDIR=   yes
ALL_TARGET=
MAN1=       bible.1

.include <bsd.port.pre.mk>

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>