aboutsummaryrefslogtreecommitdiff
path: root/graphics/bmeps/Makefile
blob: 78530f18a35e4209b6b2aa2ae046aad3debee3d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	bitmap2pp
DISTVERSION=	4.36.1
PORTREVISION=	1
CATEGORIES=	graphics perl5
MASTER_SITES=	SF/dktools/dktools/dktools-${PORTVERSION}
DISTNAME=	dktools-${PORTVERSION}

MAINTAINER=	takefu@airport.fm
COMMENT=	Convert PNG/JPEG/TIFF to PDF/EPS
WWW=		https://sourceforge.net/p/dktools/wiki/bitmap2pp/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libpng16.so:graphics/png \
		libtiff.so:graphics/tiff

USES=		jpeg localbase:ldflags
GNU_CONFIGURE=	yes
# We do not want to include sys/termios.h even if it exists, and we do not want
# to depend on BDB for db.h (it is used by other parts of dktools).
CONFIGURE_ENV=	ac_cv_header_db_h=no

ALL_TARGET=		${PORTNAME}
CONFLICTS_INSTALL=	dktools[0-9]*
PLIST_FILES=		bin/${PORTNAME} \
			share/man/man1/${PORTNAME}.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/man/man1/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>