mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
efb928619b
graphics/gd(based on 1.8.4) -> graphics/gd1 graphics/gd2(based on 2.0.15) -> graphics/gd graphics/p5-GD(based on 1.41) -> graphics/p5-GD1 graphics/p5-GD2(based on 2.07) -> graphics/p5-GD japanese/gd -> japanese/gd1 japanese/gd2 -> japanese/gd o Include some feature WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o Fix build error [1] PR: ports/54540 Submitted by: Ports Fury Approved by: maintainer (blanket) Reported by: bento via kris [1]
34 lines
812 B
Makefile
34 lines
812 B
Makefile
# New ports collection makefile for: ecg2png
|
|
# Date created: Sun 2 Jul 2000
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ecg2png
|
|
PORTVERSION= 0.30
|
|
PORTREVISION= 4
|
|
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}
|
|
|
|
USE_REINPLACE= yes
|
|
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>
|