2000-07-04 07:09:41 +02:00
|
|
|
# New ports collection makefile for: ecg2png
|
|
|
|
# Date created: Sun 2 Jul 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ecg2png
|
|
|
|
PORTVERSION= 0.30
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 5
|
2000-07-04 07:09:41 +02:00
|
|
|
CATEGORIES= graphics
|
2001-04-05 17:05:52 +02:00
|
|
|
MASTER_SITES= http://www.cardiothink.com/downloads/ecg2png/
|
2000-07-04 07:09:41 +02:00
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 00:31:53 +01:00
|
|
|
COMMENT= "Converts scanned 12-lead electrocardiograms into PNGs"
|
2000-07-04 07:09:41 +02:00
|
|
|
|
2003-08-18 18:15:10 +02:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
|
2000-07-04 07:09:41 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2001-04-05 17:05:52 +02:00
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/ecg2png
|
2002-07-08 12:41:30 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-02-23 00:31:53 +01:00
|
|
|
USE_QT_VER= 3
|
2000-07-04 07:09:41 +02:00
|
|
|
USE_GMAKE= yes
|
2001-12-24 06:03:54 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-08-18 18:15:10 +02:00
|
|
|
QTCPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
2001-12-24 06:03:54 +01:00
|
|
|
|
|
|
|
pre-patch:
|
2003-02-23 00:31:53 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|-lqt$$|-lqt-mt ${PTHREAD_LIBS}|g' ${WRKSRC}/ecg2png/Makefile.in
|
2002-09-29 10:07:47 +02:00
|
|
|
@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e \
|
2001-12-24 06:03:54 +01:00
|
|
|
's|#include <qimageio.h>||g'
|
|
|
|
@${CHMOD} ${BINMODE} ${WRKSRC}/missing
|
2000-07-04 07:09:41 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|