Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2016 17:15:18 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410714 - head/graphics/bmeps
Message-ID:  <201603091715.u29HFIiN091873@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Wed Mar  9 17:15:18 2016
New Revision: 410714
URL: https://svnweb.freebsd.org/changeset/ports/410714

Log:
  Update to 4.2.2.
  
  * It is no longer necessary to set CONFIGURE_ARGS.
  * Explain why we set CONFIGURE_ENV.
  
  PR:		207688
  Submitted by:	takefu@airport.fm

Modified:
  head/graphics/bmeps/Makefile
  head/graphics/bmeps/distinfo

Modified: head/graphics/bmeps/Makefile
==============================================================================
--- head/graphics/bmeps/Makefile	Wed Mar  9 17:14:22 2016	(r410713)
+++ head/graphics/bmeps/Makefile	Wed Mar  9 17:15:18 2016	(r410714)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bmpp
-PORTVERSION=	3.16.0
-PORTREVISION=	1
+PORTVERSION=	4.2.2
 CATEGORIES=	graphics perl5
 MASTER_SITES=	SF/dktools/dktools/dktools-${PORTVERSION}
 DISTNAME=	dktools-${PORTVERSION}
@@ -12,38 +11,30 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert PNG/JPEG/TIFF to PDF/EPS
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/bsdlic.txt
 
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
 		libtiff.so:${PORTSDIR}/graphics/tiff
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/dktools\
-		--libdir=${PREFIX}/lib\
-		--includedir=${PREFIX}/include\
-		--with-gui=no\
-		--with-fallback-string-functions=yes
-CONFIGURE_ENV=	ac_cv_header_sys_termios_h=no
+
+# 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
-MAKEFILE=	GNUmakefile
 USES=		gmake jpeg
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-PLIST_FILES=	bin/bmpp %%DATADIR%%/bmpp.txt
+PLIST_FILES=	bin/bmpp
 
-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
-	${REINPLACE_CMD} 's|-e "/^SOVERS/cSOVERS=$$VERSNO"|"s/^\(SOVERS.*\)/SOVERS=$$VERSNO/"|'\
-		${WRKSRC}/configure
+post-patch:
+	${REINPLACE_CMD} 's@sz->lsz =@st->lsz =@' ${WRKSRC}/dk3sf.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/bmpp.txt ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/bmeps/distinfo
==============================================================================
--- head/graphics/bmeps/distinfo	Wed Mar  9 17:14:22 2016	(r410713)
+++ head/graphics/bmeps/distinfo	Wed Mar  9 17:15:18 2016	(r410714)
@@ -1,2 +1,2 @@
-SHA256 (dktools-3.16.0.tar.gz) = 581cdbcb65e99b0f4cfd389f9ee597d7b4fcb2c6a35f0fc356882a28efed5e3c
-SIZE (dktools-3.16.0.tar.gz) = 7366172
+SHA256 (dktools-4.2.2.tar.gz) = 6d35d417f4fa62fd87716acbc0aabb458ba5d6c675aa825f0cdc371d978616c4
+SIZE (dktools-4.2.2.tar.gz) = 8851310



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603091715.u29HFIiN091873>