summaryrefslogtreecommitdiffstats
path: root/graphics/ecg2png/Makefile
blob: bfc7773cb5a643462a76d751b23cb830d6f7179e (plain)
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:	ecg2png
# Date created:				Sun 2 Jul 2000
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	ecg2png
PORTVERSION=	0.30
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.cardiothink.com/downloads/ecg2png/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_QT_VER=	2
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
QTCPPFLAGS+=	-I${LOCALBASE}/include/gd

pre-patch:
	@${PERL} -pi -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
	@find ${WRKSRC} -name '*.cpp' | xargs ${PERL} -pi -e \
		's|#include <qimageio.h>||g'
	@${CHMOD} ${BINMODE} ${WRKSRC}/missing

.include <bsd.port.mk>
OpenPOWER on IntegriCloud