mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
159483b7bf
Detailed maintainer log: bmpp modification: /CropBox Previous versions of bmpp only wrote a /MediaBox to PDF output, current versions write a /CropBox too. bmpp modification: /CreationTime and /ModTime Timestamps are included in PDF output. PR: 218560 Submitted by: takefu@airport.fm (maintainer) MFH: 2017Q2
38 lines
905 B
Makefile
38 lines
905 B
Makefile
# Created by: Hideyuki KURASHINA <rushani@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bmpp
|
|
PORTVERSION= 4.8.3
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION}/src
|
|
DISTNAME= dktools-${PORTVERSION}
|
|
|
|
MAINTAINER= takefu@airport.fm
|
|
COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/bsdlic.txt
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libtiff.so:graphics/tiff
|
|
|
|
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_sys_termios_h=no \
|
|
ac_cv_header_db_h=no
|
|
|
|
ALL_TARGET= bmpp
|
|
USES= gmake jpeg localbase:ldflags
|
|
|
|
PLIST_FILES= bin/bmpp
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's@sz->lsz =@st->lsz =@' ${WRKSRC}/dk3sf.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|