1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Add pecomato 0.0.12, a command-line picture metadata processor.

PR:		ports/86212
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
This commit is contained in:
Renato Botelho 2005-09-16 16:52:37 +00:00
parent 6189a9a4ab
commit fc5a271369
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142942
4 changed files with 82 additions and 0 deletions

View File

@ -411,6 +411,7 @@
SUBDIR += pear-Image_Color
SUBDIR += pear-Image_Graph
SUBDIR += pecl-imagick
SUBDIR += pecomato
SUBDIR += peps
SUBDIR += pgperl
SUBDIR += pgplot

View File

@ -0,0 +1,55 @@
# New ports collection makefile for: pecomato
# Date created: 16 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= pecomato
PORTVERSION= 0.0.12
CATEGORIES= graphics
MASTER_SITES= http://82.225.188.10/projects/pecomato/download/sources/
MAINTAINER= ehaupt@critical.ch
COMMENT= A command-line picture metadata processor
USE_GMAKE= yes
USE_REINPLACE= yes
USE_PYTHON= yes
MAKEFILE= Makefile.unix
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/pecomato
MAN1= pecomato.1
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|^\(CC.*\)=|\1?=|; s|^\(all:.*\)|\1 docs|' \
${WRKSRC}/Makefile.unix
@${REINPLACE_CMD} -e 's|^\(PYTHON\).*|\1 = ${PYTHON_CMD}|' \
${WRKSRC}/Makefile.posix.inc
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} \
-E 's/^(HTML_DOCS|TXT_DOCS).*=.*(README\.(html|txt)\ TODO\.(html|txt)).*/\1=\2/' \
${WRKSRC}/doc/Makefile.posix
.else
@${REINPLACE_CMD} -E '/^(HTML_DOCS|TXT_DOCS)/d' \
${WRKSRC}/doc/Makefile.posix
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/.man/manpage.man \
${MANPREFIX}/man/man1/${PORTNAME}.1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/txt
.for f in README TODO
.for t in txt html
${INSTALL_DATA} ${WRKSRC}/doc/.${t}/${f}.${t} ${DOCSDIR}/${t}
.endfor
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (pecomato-0.0.12.tar.gz) = e610397b942dfda56bfdf3720bfd6cac
SIZE (pecomato-0.0.12.tar.gz) = 139030

View File

@ -0,0 +1,24 @@
PECoMaTo stands for Picture-Embedded COntents MAnipulation TOol.
It is designed to display any kind of information embedded in picture files,
as well as checking, filtering, extracting, removing, adding, and fixing such
information. In other words, it's a metadata processor.
It supports the following file formats:
* JPEG/JFIF
* Adobe PSD and FFO
* raw IPTC
It knows about the following metadata formats:
* JFIF
* IPTC
* Exif
* Adobe
* Fotostation
WWW: http://82.225.188.10/projects/pecomato/
- ehaupt
ehaupt@critical.ch