aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ecg2png/Makefile
blob: b0e36a982aa4d8fae6d430302b0bb8472f14783d (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
33
# New ports collection makefile for:    ecg2png
# Date created:             Sun 2 Jul 2000
# Whom:                 will
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Converts scanned 12-lead electrocardiograms into PNGs

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

WRKSRC=     ${WRKDIR}/${PORTNAME}

PLIST_FILES=    bin/ecg2png
USE_QT_VER= 3
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
QTCPPFLAGS+=    ${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include

pre-patch:
    @${REINPLACE_CMD} -e 's|-lqt$$|-lqt-mt ${PTHREAD_LIBS}|g' ${WRKSRC}/ecg2png/Makefile.in
    @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e \
        's|#include <qimageio.h>||g'
    @${CHMOD} ${BINMODE} ${WRKSRC}/missing

.include <bsd.port.mk>
>. Update to tzupdater 1.3.5. This patch is based on that submitted in theglewis2008-05-031-3/+3 * . Update to 1.5.0_14 and patchset 8.glewis2008-02-151-9/+9 * . Update to tzupdater 1.3.3.glewis2008-01-131-3/+3 * . Update to tzupdater 1.3.0 to fix the default build (the previous versionglewis2007-11-161-3/+3 * . Update to patchset 7, based on 1.5.0 Update 13.glewis2007-10-241-9/+9 * . Update to tzupdater 1.2.2.glewis2007-09-081-3/+3 * . Update to patchset 6, based on 1.5.0 Update 12.glewis2007-07-271-9/+9 * . Update to patchset 5, based on the 1.5.0_11 JRL source code.glewis2007-06-091-9/+9 * . Update to tzupdater 1.2.1.glewis2007-06-031-3/+3 * . Update to tzupdater 1.1.0-2007c.glewis2007-03-081-3/+3 * . Add a TZUPDATE option, defaulting to on, which will update the time zoneglewis2007-02-241-0/+3 * . Another reroll. Spell "Chuck Silvers" name correctly in the THANKSglewis2007-01-251-3/+3 * . Rerolled patchset. The only change was to have it correctly identifyglewis2007-01-241-3/+3 * . Update to patchset 4.glewis2007-01-231-3/+3 * . Convert to using OPTIONS.glewis2006-07-191-0/+3 * . Update to 1.5.0 patchset 3.glewis2006-04-071-3/+3 * . Add SHA256.glewis2005-11-241-0/+3 * . Update to patchset 2:glewis2005-09-211-4/+2 * Use code long floating around the Internet to add support for KOI8-Umi2005-07-28