From owner-svn-ports-head@FreeBSD.ORG Sun Jul 13 09:43:30 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08020252; Sun, 13 Jul 2014 09:43:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCC8D2625; Sun, 13 Jul 2014 09:43:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6D9hTfh070608; Sun, 13 Jul 2014 09:43:29 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6D9hTTe070603; Sun, 13 Jul 2014 09:43:29 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407130943.s6D9hTTe070603@svn.freebsd.org> From: John Marino Date: Sun, 13 Jul 2014 09:43:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361667 - in head/graphics/bmeps: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2014 09:43:30 -0000 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 # $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 @#include @p'\ + -e 's@#include @#include @'\ + ${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 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