aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icontact/Makefile
blob: 8e72c3d3af1c298d64812a6db8a87dfdea9d9efc (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
32
# 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
COMMENT=    Combines multiples images to create a single customisable image

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

USE_REINPLACE=  yes
MAN1=       icontact.1 xvtoppm.1

post-patch:
    ${REINPLACE_CMD} "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>