aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ppm2fli/Makefile
blob: 5d427a810a080d1627c54521d6d32bb694469f45 (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
# New ports collection makefile for:    ppm2fli
# Date created:     7 Jan 1998
# Whom:         giffunip@asme.org
#
# $FreeBSD$
#

PORTNAME=   ppm2fli
PORTVERSION=    2.1
CATEGORIES= graphics
MASTER_SITES=   http://vento.pi.tu-berlin.de/ppm2fli/

MAINTAINER= ports@FreeBSD.org

USE_REINPLACE=  yes

MAN1=   ppm2fli.1 unflick.1

pre-patch:
    @${REINPLACE_CMD} -e 's|^C|#C|g ; \
         s|gcc |\$${CC} |g' ${WRKSRC}/Makefile

do-install:
.for name in ppm2fli unflick
    ${INSTALL_PROGRAM} ${WRKSRC}/${name} ${PREFIX}/bin/${name}
    ${INSTALL_MAN} ${WRKSRC}/${name}.1 ${MANPREFIX}/man/man1/${name}.1
.endfor

.include <bsd.port.mk>