aboutsummaryrefslogtreecommitdiffstats
path: root/misc/cave/Makefile
blob: 6ca3a6ed90c48b65829ef2eb1db33d02cef8fe2e (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
# ex:ts=8
# Ports collection makefile for:    cave
# Date created:         Dec 30, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cave
PORTVERSION=    0.3
CATEGORIES= misc
MASTER_SITES=   http://m-net.arbornet.org/~bjk/cave/download/

MAINTAINER= ports@FreeBSD.org

MAN1=   cave.1

post-patch:
    @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile

pre-install:
    @${GZIP_CMD} -d ${WRKSRC}/${MAN1}.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>