openbsd-ports/graphics/dcmtk/Makefile
espie 944822a56c make very sure we don't get a wandering libtool
software has a piece of shit configure script (oxymoron) that does detect
libtool is present, but produces crap when it discovers it's not gnu libtool.
of course, checking for features is too complicated, so it just asks
libtool --version and checks for "GNU libtool".

morons.
2012-06-17 21:55:20 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2012/06/17 21:55:20 espie Exp $
COMMENT= DICOM toolkit
DISTNAME= dcmtk-3.5.4
REVISION= 1
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" \
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
USE_GROFF = Yes
NO_REGRESS= Yes
.include <bsd.port.mk>