openbsd-ports/graphics/dcmtk/Makefile
2008-04-11 11:27:24 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2008/04/11 11:27:24 steven Exp $
COMMENT= DICOM toolkit
DISTNAME= dcmtk-3.5.4
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
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
png.>=4::graphics/png \
tiff.>=36::graphics/tiff \
xml2.>=9::textproc/libxml
RUN_DEPENDS= :netpbm-*: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
NO_REGRESS= Yes
.include <bsd.port.mk>