Update french/aster to version 12.6.0.4
[dports.git] / graphics / bmeps / Makefile
1 # Created by: Hideyuki KURASHINA <rushani@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       bmpp
5 PORTVERSION=    4.4.0
6 CATEGORIES=     graphics perl5
7 MASTER_SITES=   SF/dktools/dktools/dktools-${PORTVERSION}/src
8 DISTNAME=       dktools-${PORTVERSION}
9
10 MAINTAINER=     takefu@airport.fm
11 COMMENT=        Convert PNG/JPEG/TIFF to PDF/EPS
12
13 LICENSE=        BSD3CLAUSE
14 LICENSE_FILE=   ${WRKSRC}/bsdlic.txt
15
16 LIB_DEPENDS=    libpng.so:graphics/png \
17                 libtiff.so:graphics/tiff
18
19 GNU_CONFIGURE=  yes
20
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 \
24                 ac_cv_header_db_h=no
25
26 ALL_TARGET=     bmpp
27 USES=           gmake jpeg localbase:ldflags
28
29 PLIST_FILES=    bin/bmpp
30
31 post-patch:
32         @${REINPLACE_CMD} 's@sz->lsz =@st->lsz =@' ${WRKSRC}/dk3sf.c
33
34 do-install:
35         ${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin
36
37 .include <bsd.port.mk>