2013-03-11 07:10:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2013/03/11 11:10:51 espie Exp $
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
COMMENT= DICOM toolkit
|
|
|
|
|
|
|
|
DISTNAME= dcmtk-3.5.4
|
2011-09-16 06:02:36 -04:00
|
|
|
REVISION= 1
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.dcmtk.org/dcmtk.php.en
|
|
|
|
|
2008-04-11 07:27:24 -04:00
|
|
|
MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
# Several ISC and BSDish
|
|
|
|
# ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/COPYRIGHT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-11-17 03:05:12 -05:00
|
|
|
WANTLIB= c crypto m ssl stdc++ wrap z jpeg>=62 png>=4 \
|
|
|
|
tiff>=36 xml2>=9
|
2008-04-10 06:09:56 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
|
|
graphics/png \
|
|
|
|
graphics/tiff \
|
|
|
|
textproc/libxml
|
2008-04-10 06:09:56 -04:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
RUN_DEPENDS= graphics/netpbm
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
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" \
|
2012-06-17 17:55:20 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_prog_LIBTOOL=:
|
2008-04-10 06:09:56 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
|
|
|
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
2011-05-02 15:15:49 -04:00
|
|
|
etcdir=${WRKINST}${PREFIX}/share/examples/dcmtk \
|
|
|
|
datadir=${WRKINST}${PREFIX}/share/dcmtk \
|
|
|
|
docdir=${WRKINST}${PREFIX}/share/doc/dcmtk
|
2010-11-17 03:05:12 -05:00
|
|
|
USE_GROFF = Yes
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
|
2013-03-11 07:10:51 -04:00
|
|
|
NO_TEST= Yes
|
2008-04-10 06:09:56 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|