openbsd-ports/graphics/dcmtk/Makefile
2010-11-17 08:05:12 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2010/11/17 08:05:13 espie Exp $
COMMENT= DICOM toolkit
DISTNAME= dcmtk-3.5.4
REVISION= 0
CATEGORIES= graphics
HOMEPAGE= http://www.dcmtk.org/dcmtk.php.en
MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/
# Several ISC and BSDish
# ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/COPYRIGHT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ssl stdc++ wrap z jpeg>=62 png>=4 \
tiff>=36 xml2>=9
LIB_DEPENDS= graphics/jpeg \
graphics/png \
graphics/tiff \
textproc/libxml
RUN_DEPENDS= graphics/netpbm
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-threads \
--with-libtiff --with-libtiffinc=${LOCALBASE} \
--with-libpng --with-libpnginc=${LOCALBASE} \
--with-libxml --with-libxmlinc=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
FAKE_FLAGS= DESTDIR=${WRKINST} \
etcdir=${WRKINST}${PREFIX}/share/examples/dcmtk
USE_GROFF = Yes
NO_REGRESS= Yes
.include <bsd.port.mk>