270db149c4
(using modified portbump, thanks zhuk@)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2015/04/21 18:24:22 sthen Exp $
|
|
|
|
COMMENT= DICOM toolkit
|
|
|
|
DISTNAME= dcmtk-3.5.4
|
|
REVISION= 5
|
|
|
|
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
|
|
|
|
WANTLIB += c crypto jpeg>=62 m png>=4 pthread ssl stdc++ tiff>=36
|
|
WANTLIB += xml2>=9 z
|
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
graphics/png \
|
|
graphics/tiff \
|
|
textproc/libxml
|
|
|
|
RUN_DEPENDS= graphics/netpbm
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --disable-threads --without-libwrap \
|
|
--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" \
|
|
ac_cv_prog_LIBTOOL=:
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
|
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
|
etcdir=${WRKINST}${PREFIX}/share/examples/dcmtk \
|
|
datadir=${WRKINST}${PREFIX}/share/dcmtk \
|
|
docdir=${WRKINST}${PREFIX}/share/doc/dcmtk
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|