aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ecg2png
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ecg2png')
-rw-r--r--graphics/ecg2png/Makefile11
-rw-r--r--graphics/ecg2png/pkg-comment1
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/ecg2png/Makefile b/graphics/ecg2png/Makefile
index 9ec07e1a03cd..be5209f0640e 100644
--- a/graphics/ecg2png/Makefile
+++ b/graphics/ecg2png/Makefile
@@ -7,24 +7,25 @@
PORTNAME= ecg2png
PORTVERSION= 0.30
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.cardiothink.com/downloads/ecg2png/
-MAINTAINER= kde@freebsd.org
+MAINTAINER= ports@freebsd.org
+COMMENT= "Converts scanned 12-lead electrocardiograms into PNGs"
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
-USE_QT_VER= 2
+USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-QTCPPFLAGS+= -I${LOCALBASE}/include/gd
+QTCPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include/gd
pre-patch:
- @${REINPLACE_CMD} -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
+ @${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
diff --git a/graphics/ecg2png/pkg-comment b/graphics/ecg2png/pkg-comment
deleted file mode 100644
index 3474c2b5139f..000000000000
--- a/graphics/ecg2png/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Converts scanned 12-lead electrocardiograms into PNGs