aboutsummaryrefslogtreecommitdiffstats
path: root/misc/fortune-mod-bible/Makefile
blob: 81303a8cc98448d9030e2dd2752f085836f3582d (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-bible
# Date created:        3/30/2004
# Whom:                djp
#
# $FreeBSD$
#

PORTNAME=   fortune-mod-bible
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fortunebible
DISTNAME=   bible

MAINTAINER= doug@polands.org
COMMENT=    King James V Bible in fortune file format

DIST_SUBDIR=    ${PORTNAME}
NO_WRKSUBDIR=   yes
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_BZIP2=  yes
SUB_FILES+= pkg-message
_STRFILE=   /usr/games/strfile

do-build:
    @cd ${WRKSRC} && ${_STRFILE} -C bible

do-install:
    @${MKDIR} ${PREFIX}/share/games
    @${MKDIR} ${PREFIX}/share/games/fortune
    @${INSTALL_DATA} ${WRKSRC}/bible* ${PREFIX}/share/games/fortune

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>