aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icontact/Makefile
blob: 282ddec34eb0bf35efc6b480a943a6b8917f1507 (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:    icontact
# Date created:         Apr 16, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   icontact
PORTVERSION=    1.5
CATEGORIES= graphics
MASTER_SITES=   http://www.panix.com/~mbh/icontact/

MAINTAINER= markp@FreeBSD.org

RUN_DEPENDS=    ${LOCALBASE}/bin/ppmmake:${PORTSDIR}/graphics/netpbm \
        ${LOCALBASE}/bin/cjpeg:${PORTSDIR}/graphics/jpeg

MAN1=       icontact.1 xvtoppm.1

pre-build:
    ${PERL} -pi -e "s@CC=cc@CC=${CC}@g;s@CFLAGS=-O@CFLAGS=${CFLAGS}@g" ${WRKSRC}/Makefile

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

.include <bsd.port.mk>