aboutsummaryrefslogtreecommitdiff
path: root/graphics/icontact/Makefile
blob: 469a06e8d55240ff86dec093d73e3f0a0c10cb98 (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:	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

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>