freebsd-ports/graphics/ecg2png/Makefile
Norikatsu Shigemura 99a390f50b o Change library name from libgd to libgd1.
o Do not install everything except headers and libraries
  (to avoid conflicting with graphics/gd2)
o Fix dependency on new libgd1(for many ports).

PR:		ports/54100
Submitted by:	Ports Fury
2003-07-11 18:16:14 +00:00

34 lines
816 B
Makefile

# New ports collection makefile for: ecg2png
# Date created: Sun 2 Jul 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= ecg2png
PORTVERSION= 0.30
PORTREVISION= 3
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/gd2
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
QTCPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include/gd
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>