Date: Sun, 13 Jul 2014 09:43:29 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361667 - in head/graphics/bmeps: . files Message-ID: <201407130943.s6D9hTTe070603@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Jul 13 09:43:28 2014 New Revision: 361667 URL: http://svnweb.freebsd.org/changeset/ports/361667 QAT: https://qat.redports.org/buildarchive/r361667/ Log: graphics/bmeps: Update version 2.2.26 => 3.8.2 PR: 187025 Submitted by: takefu (airport.fm) Verified by: Redports 8x Deleted: head/graphics/bmeps/files/ Modified: head/graphics/bmeps/Makefile head/graphics/bmeps/distinfo head/graphics/bmeps/pkg-descr Modified: head/graphics/bmeps/Makefile ============================================================================== --- head/graphics/bmeps/Makefile Sun Jul 13 08:59:11 2014 (r361666) +++ head/graphics/bmeps/Makefile Sun Jul 13 09:43:28 2014 (r361667) @@ -1,57 +1,46 @@ # Created by: Hideyuki KURASHINA <rushani@FreeBSD.org> # $FreeBSD$ -PORTNAME= bmeps -PORTVERSION= 2.2.26 +PORTNAME= bmpp +PORTVERSION= 3.8.2 CATEGORIES= graphics perl5 MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION} DISTNAME= dktools-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Convert bitmap images (PNG/JPEG/NetPBM) to EPS +COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/bsdlic.txt LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= perl5 zip GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_header_sys_termios_h=no CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/dktools\ --libdir=${PREFIX}/lib\ --includedir=${PREFIX}/include\ - --without-perl\ - --with-lzw -ALL_TARGET= stc ${PORTNAME} + --with-gui=no\ + --with-fallback-string-functions=yes +CONFIGURE_ENV= ac_cv_header_sys_termios_h=no + +ALL_TARGET= bmpp CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/bmeps \ - man/man1/bmeps.1.gz \ - %%DATADIR%%/bmeps.str \ - %%DATADIR%%/bmeps.stt.bz2 \ - %%DATADIR%%/bmeps.txt \ - %%DATADIR%%/de/bmeps.stt.bz2 \ - %%DATADIR%%/de/bmeps.txt -PLIST_DIRS= %%DATADIR%%/de \ - %%DATADIR%% - -post-build: - @(cd ${WRKSRC} && ./stc --/log/stderr/level=error \ - --log/stdout/level=none --/log/file/keep=none \ - bmeps.str share/dktools) +PLIST_FILES= bin/bmpp %%DATADIR%%/bmpp.txt +PLIST_DIRS= %%DATADIR%% + +pre-patch: + @${REINPLACE_CMD} 's@sz->lsz =@// sz->lsz =@' ${WRKSRC}/dk3sf.c + @${REINPLACE_CMD} -e 's@#include <dk3conf.h>@#include <stdio.h>@p'\ + -e 's@#include <stdio.h>@#include <dk3conf.h>@'\ + ${WRKSRC}/dk3types.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bmeps ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/man1/bmeps.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/bmeps.str ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/share/dktools/en/bmeps.* ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DATADIR}/de - ${INSTALL_DATA} ${WRKSRC}/share/dktools/de/bmeps.* ${STAGEDIR}${DATADIR}/de + ${INSTALL_DATA} ${WRKSRC}/bmpp.txt ${STAGEDIR}${DATADIR} .include <bsd.port.mk> Modified: head/graphics/bmeps/distinfo ============================================================================== --- head/graphics/bmeps/distinfo Sun Jul 13 08:59:11 2014 (r361666) +++ head/graphics/bmeps/distinfo Sun Jul 13 09:43:28 2014 (r361667) @@ -1,2 +1,2 @@ -SHA256 (dktools-2.2.26.zip) = f618f1b663f777c57ba5b3b9370a9103a77b91acb5c804764afe2f47cce29aab -SIZE (dktools-2.2.26.zip) = 5813528 +SHA256 (dktools-3.8.2.tar.gz) = 089bab8ad6440d7dd28ab96ed9c9b2f958bfc0ad6643cb2ae6d453c8af7165a2 +SIZE (dktools-3.8.2.tar.gz) = 11227762 Modified: head/graphics/bmeps/pkg-descr ============================================================================== --- head/graphics/bmeps/pkg-descr Sun Jul 13 08:59:11 2014 (r361666) +++ head/graphics/bmeps/pkg-descr Sun Jul 13 09:43:28 2014 (r361667) @@ -1,21 +1,3 @@ -The bmeps package contains a command line program and a library to convert -bitmap image files (PNG/JPEG/NetPBM) to EPS or PDF and produces bounding box -files for use with LaTeX. +bmpp - Convert PNG/JPEG/TIFF to PDF/EPS -The program produces EPS level 1, 2 and 3 and PDF level 1.2, 1.3 and 1.4. - -Depending on the EPS level there are different compression and encoding -algorithms available: - - _ ASCII-Hex encoding - _ ASCII-85-encoding (requires PS level 2) - _ DCT-pass-through of JPEG files (requires PS level 2) - _ flate compression (requires PS level 3) - -The program is intended to be used with LaTeX/dvips or other DTP software -accepting EPS graphics. - -No automated scaling/rotating is done by the program to fit pages of any -paper size, this is left up to the DTP application including the graphics. - -WWW: http://dktools.sourceforge.net/bmeps.html +WWW: http://dktools.sourceforge.net/bmpp.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407130943.s6D9hTTe070603>