freebsd-ports/graphics/icontact/Makefile
2001-06-08 05:36:46 +00:00

29 lines
775 B
Makefile

# 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>