aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dog/Makefile
blob: 534c010c4953be0233f346bca0bf44aa3655a6cc (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
# New ports collection makefile for:    wmtop
# Date created:             15 May 2000
# Whom:                 Dan Piponi <wmtop@tanelorn.demon.co.uk>
#
# $FreeBSD$

PORTNAME=   dog
PORTVERSION=    1.7
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://jl.photodex.com/dog/

MAINTAINER= rooneg@electricjellyfish.net
COMMENT=    Dog writes the contents of each given file, URL, or stdin

USE_GMAKE=  yes
ALL_TARGET= dog
USE_REINPLACE=  yes

MAN1=       dog.1
PLIST_FILES=    bin/dog

post-patch:
    @${REINPLACE_CMD} -e 's|-O3 -Wall|${CFLAGS}|; s|gcc|${CC}|' \
        ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dog ${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/dog.1 ${PREFIX}/man/man1

.include <bsd.port.mk>