aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ppm2fli/Makefile
blob: 04277ae5e21113ac3d42710c0e73f17722457849 (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
# 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

MAN1=   ppm2fli.1 unflick.1

pre-patch:
    @${PERL} -pi -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>