diff options
author | rakuco <rakuco@FreeBSD.org> | 2016-03-09 17:15:18 +0000 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2016-03-09 17:15:18 +0000 |
commit | 37ec702b2fbde6cd46fa46c901ad29b9e3142a8b (patch) | |
tree | 7da22d0a17815cf444f8b44e9bc86e7d482f1689 | |
parent | e933b20c2ee0870333b7b6d99be6eca1c06015ee (diff) | |
download | FreeBSD-ports-37ec702b2fbde6cd46fa46c901ad29b9e3142a8b.zip FreeBSD-ports-37ec702b2fbde6cd46fa46c901ad29b9e3142a8b.tar.gz |
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
-rw-r--r-- | graphics/bmeps/Makefile | 29 | ||||
-rw-r--r-- | graphics/bmeps/distinfo | 4 |
2 files changed, 12 insertions, 21 deletions
diff --git a/graphics/bmeps/Makefile b/graphics/bmeps/Makefile index 137e0b3..a96d26a 100644 --- a/graphics/bmeps/Makefile +++ b/graphics/bmeps/Makefile @@ -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> diff --git a/graphics/bmeps/distinfo b/graphics/bmeps/distinfo index 443d1ef..ed3e7fd 100644 --- a/graphics/bmeps/distinfo +++ b/graphics/bmeps/distinfo @@ -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 |