1 # Created by: Hideyuki KURASHINA <rushani@FreeBSD.org>
6 CATEGORIES= graphics perl5
7 MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION}/src
8 DISTNAME= dktools-${PORTVERSION}
10 MAINTAINER= takefu@airport.fm
11 COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS
14 LICENSE_FILE= ${WRKSRC}/bsdlic.txt
16 LIB_DEPENDS= libpng.so:graphics/png \
17 libtiff.so:graphics/tiff
21 # We do not want to include sys/termios.h even if it exists, and we do not want
22 # to depend on BDB for db.h (it is used by other parts of dktools).
23 CONFIGURE_ENV= ac_cv_header_sys_termios_h=no \
27 USES= gmake jpeg localbase:ldflags
32 @${REINPLACE_CMD} 's@sz->lsz =@st->lsz =@' ${WRKSRC}/dk3sf.c
35 ${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin
37 .include <bsd.port.mk>