summaryrefslogtreecommitdiff
path: root/graphics/tif22pnm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-23 19:05:06 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-23 19:05:06 +0000
commit4a74e581dfb62250e95dc296ea8a35ab4a849a24 (patch)
treefd7671e74f89f2f585dd0719a133966a72891539 /graphics/tif22pnm
parentUpdate to version 0.2.1 (diff)
Update to version 0.11
PR: ports/70868 Submitted by: Ports Fury
Diffstat (limited to '')
-rw-r--r--graphics/tif22pnm/Makefile16
-rw-r--r--graphics/tif22pnm/distinfo4
-rw-r--r--graphics/tif22pnm/pkg-descr10
3 files changed, 20 insertions, 10 deletions
diff --git a/graphics/tif22pnm/Makefile b/graphics/tif22pnm/Makefile
index 1b5621a2b070..4ee62f0869dd 100644
--- a/graphics/tif22pnm/Makefile
+++ b/graphics/tif22pnm/Makefile
@@ -7,25 +7,33 @@
#
PORTNAME= tif22pnm
-PORTVERSION= 0.10
+PORTVERSION= 0.11
CATEGORIES= graphics
MASTER_SITES= http://www.inf.bme.hu/~pts/
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts TIFF- sampled images to PNM image
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2
-LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff
-PLIST_FILES= bin/tif22pnm
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libtiff-ldir=${LOCALBASE}/lib \
--with-libtiff-idir=${LOCALBASE}/include
+PLIST_FILES= bin/png22pnm bin/tif22pnm
+
+post-patch:
+ @${REINPLACE_CMD} -e 's| -O2| ${CFLAGS}|g' ${WRKSRC}/do.sh
+
do-build:
@(cd ${WRKSRC} ; ${LOCALBASE}/bin/bash do.sh compile)
do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/graphics/tif22pnm/distinfo b/graphics/tif22pnm/distinfo
index cb219a33c963..9450ce748468 100644
--- a/graphics/tif22pnm/distinfo
+++ b/graphics/tif22pnm/distinfo
@@ -1,2 +1,2 @@
-MD5 (tif22pnm-0.10.tar.gz) = aaf39a97f65d73a2dbcbc6dd710e8187
-SIZE (tif22pnm-0.10.tar.gz) = 107042
+MD5 (tif22pnm-0.11.tar.gz) = 1fde82ce6039e0ca83d7dbaf871ea029
+SIZE (tif22pnm-0.11.tar.gz) = 107002
diff --git a/graphics/tif22pnm/pkg-descr b/graphics/tif22pnm/pkg-descr
index 4a746eadc13b..b5d9b67b796f 100644
--- a/graphics/tif22pnm/pkg-descr
+++ b/graphics/tif22pnm/pkg-descr
@@ -1,4 +1,6 @@
-tif22pnm is a commandline utility that converts TIFF- sampled images to PNM
-images, using the libtiff library, but not using NetPBM. It is similar to
-tifftopnm utility in the NetPBM distribution, but handles a wider range of
-TIFF files and is able to output the alpha channel as a PBM or PGM file.
+tif22pnm is a command line utility that converts between TIFF sampled images
+and PNM images (both directions), using the libtiff library, but not using
+NetPBM. tif22pnm is similar to tifftopnm utility in the NetPBM distribution,
+but tif22pnm handles a wider range of TIFF files and it is able to output
+the alpha channel as a PBM or PGM file. png22pnm, a converter from PNG to
+PNM is also bundled into the distribution.